在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Linux  HTML/ Element UI使用過程中的問題

Element UI使用過程中的問題

在element UI的使用過程中,出現(xiàn)錯誤,錯誤信息為:
error in ./src/components/HelloWorld.vue

Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| <template>
| <div class="hello">
| <el-button>界面</el-button>

@ ./src/router/index.js 3:0-49
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

error in ./src/App.vue

Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| <template>
| <div id="app">
| <h1>aa</h1>

@ ./src/main.js 4:0-24
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
這是什么原因

回答
編輯回答
她愚我

提示你需要對應(yīng)的loader
可能是沒有使用vue-loader
能把webpack的loaders也貼出來嗎?

2017年8月23日 05:14