是否可以将Vue管理(Bulma)包括在Laravel中?

是否可以将Vue管理(Bulma)包括在Laravel中?,laravel,laravel-5.3,vue-component,vue.js,Laravel,Laravel 5.3,Vue Component,Vue.js,我对Vue.js和js基本上都是新手。我正在使用Bulma.io CSS框架,并找到了Vue管理包,该包以Bulma样式提供Vue组件 我想使用它,但我不知道如何需要它。我尝试使用一个组件,如: javascript //资源/资产/js/app.js 组件('sidebar',require('../../../node_modules/Vue admin/client/components/layout/sidebar.Vue'); 这会在我的控制台中引发以下错误: ERROR in ./

我对Vue.js和js基本上都是新手。我正在使用Bulma.io CSS框架,并找到了Vue管理包,该包以Bulma样式提供Vue组件

我想使用它,但我不知道如何需要它。我尝试使用一个组件,如:

javascript
//资源/资产/js/app.js
组件('sidebar',require('../../../node_modules/Vue admin/client/components/layout/sidebar.Vue');

这会在我的控制台中引发以下错误:

ERROR in ./~/vue-admin/client/components/layout/Sidebar.vue
Module not found: Error: Can't resolve 'scss-loader' in '/Volumes/Data/Entwicklung/Workspace/Private/TheNewSumoAndPanda/node_modules/vue-admin/client/components/layout'
 @ ./~/vue-admin/client/components/layout/Sidebar.vue 5:0-169
 @ ./resources/assets/js/app.js

ERROR in ./~/vue-bulma-expanding/src/Expanding.vue
Module not found: Error: Can't resolve 'scss-loader' in '/Volumes/Data/Entwicklung/Workspace/Private/TheNewSumoAndPanda/node_modules/vue-bulma-expanding/src'
 @ ./~/vue-bulma-expanding/src/Expanding.vue 5:0-183
 @ ./~/buble-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./~/vue-admin/client/components/layout/Sidebar.vue
 @ ./~/vue-admin/client/components/layout/Sidebar.vue
 @ ./resources/assets/js/app.js
我还尝试加入某种自动加载器,并尝试了以下方法:

// resource/assets/js/app.js
require('../../../node_modules/vue-admin/client/app');
ERROR in ./~/vue-admin/client/app.js
Module parse failed: /Volumes/Data/Entwicklung/Workspace/Private/TheNewSumoAndPanda/node_modules/vue-admin/client/app.js Unexpected token (38:2)
You may need an appropriate loader to handle this file type.
|   store,
|   nprogress,
|   ...App
| })
|
 @ ./resources/assets/js/app.js 9:0-53
这引发了以下问题:

// resource/assets/js/app.js
require('../../../node_modules/vue-admin/client/app');
ERROR in ./~/vue-admin/client/app.js
Module parse failed: /Volumes/Data/Entwicklung/Workspace/Private/TheNewSumoAndPanda/node_modules/vue-admin/client/app.js Unexpected token (38:2)
You may need an appropriate loader to handle this file type.
|   store,
|   nprogress,
|   ...App
| })
|
 @ ./resources/assets/js/app.js 9:0-53
这是指向GIthub上Vue管理包的链接:

我希望你们能帮我


谢谢David,我创建了一个没有laravel mix的集成:


此解决方案使用原始构建脚本,npm命令由artisan命令包装。输出被符号链接到相应的目录。

我创建了一个没有laravel mix的集成:

此解决方案使用原始构建脚本,npm命令由artisan命令包装。输出被符号链接到相应的目录