laravel 6.0版在resources/js文件夹中不包含vuejs文件资产/组件App.vue.这是为什么以及如何解决它? [英] laravel version 6.0 does not include the vuejs file assets/components,App.vue, inside resources/js folder. This is why and how to fix it?

查看:50
本文介绍了laravel 6.0版在resources/js文件夹中不包含vuejs文件资产/组件App.vue.这是为什么以及如何解决它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在laravel 6.0版发布之后,当我安装新的laravel应用程序时,它不包含 vue.js 文件 assets/components ,App.vue.我不知道如何解决.我想在laravel和Vue中开发一个项目.

After the laravel version 6.0 release, when i install the fresh laravel application it does not include the vue.js files assets/components, App.vue. i don't know how to fix it. I wanna develop a project in the laravel and vue.

require('./bootstrap');

这是app.js文件,它仅包含此行代码.

this is app.js file and it include only this line of code.

推荐答案

是的,它不包括在内,因为它是从名为

Yes, it does not include because that was moved out of the core in a separate package called laravel/ui you can install the package using composer and then use the prebuilt components for Authentication for example and whatever else it provides.

这是文档.

这篇关于laravel 6.0版在resources/js文件夹中不包含vuejs文件资产/组件App.vue.这是为什么以及如何解决它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆