我正在尝试将webpack与位于Project/app/Dashboard/Resources/scss/main.scss
和Project/app/Dashboard/Resources/js/main.js
的文件夹中的文件一起使用,但是我收到了错误。
我试过了:
mix.js('app/Dashboard/Resources/js/main.js', 'public/js/dashboard.js')
.sass('app/Dashboard/Resources/scss/main.scss', 'public/css/dashboard.css');
-
mix.js('app/Dashboard/Resources/js/main.js', 'public/js')
.sass('app/Dashboard/Resources/scss/main.scss', 'public/css');
-
mix.script('app/Dashboard/Resources/js/main.js', 'public/js')
.sass('app/Dashboard/Resources/scss/main.scss', 'public/css');
-
mix.sass('app/Dashboard/Resources/scss/main.scss', 'public/css');
-
mix.sass('app/Dashboard/Resources/scss/main.scss', 'public/css/dashboard.css');
答案 0 :(得分:0)
所以......是的......这很尴尬......在其中一个.scss文件中,我有一个丢失图像的链接。检查所有网址,它们应该存在。