前人种树:
src下两个文件:index.js 以及 app.vue,index.js中import App from 'app.vue'打包会出错,但是改为import App from './app.vue' 就可以成功!
src下两个文件:index.js 以及 app.vue,index.js中import App from 'app.vue'打包会出错,但是改为import App from './app.vue' 就可以成功!
2018-01-24
安装了
├── file-loader@1.1.6
├── style-loader@0.19.1
└── url-loader@0.6.2
还是会报错
ERROR in ./src/assets/images/bg.png
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src/index.js 5:0-31
├── file-loader@1.1.6
├── style-loader@0.19.1
└── url-loader@0.6.2
还是会报错
ERROR in ./src/assets/images/bg.png
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src/index.js 5:0-31
2018-01-24