laravel路由直接访问的index.blade
Dashboard
app.js
require('./bootstrap');
import App from './components/App.vue';
new Vue({
el: '#app',
render: h=>h(App)
});
App.Vue
Hello World
访问index.blade并没有加载出App.vue的内容

求各路大神指点。。。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
假设你执行了
npm install和gulp,然后index.blade.php文件中加入<App></App>