在 Chrome 中输入https://deepdivecms.test/时返回以下错误
警告:require(/home/vagrant/Code/deepdivecms/public/../vendor/autoload.php):无法打开流:/home/vagrant/Code/deepdivecms/public/index.php 中没有这样的文件或目录第 24 行调用堆栈
1 0.0011 392400 {main}() .../index.php:0
致命错误:require(): 在 /home/vagrant 中打开所需的 '/home/vagrant/Code/deepdivecms/public/../vendor/autoload.php' (include_path='.:/usr/share/php') 失败/Code/deepdivecms/public/index.php 第 24 行
在我的 homestead.yaml 文件中,我已经把
站点: - 地图:deepdivecms.test 到:/home/vagrant/Code/deepdivecms/public
同样在我更新的主机文件中
192.168.10.10 deepdivecms.test
我是 Vuejs 的新手,我收到错误未知的自定义元素 -
我如何注册自定义元素 - b-alert。我认为这个元素来自 bootstrapVue。
<template>
<div>
<b-alert show>Default Alert</b-alert>
</div>
</template>
<script>
export default {
data () {
return {
dismissSecs: 10,
dismissCountDown: 0,
showDismissibleAlert: false
}
},
methods: {
countDownChanged (dismissCountDown) {
this.dismissCountDown = dismissCountDown
},
showAlert () {
this.dismissCountDown = this.dismissSecs
}
},
}
Run Code Online (Sandbox Code Playgroud)