Trying to do the Single File Component section, and I'm getting this error and I try to do npm run build:
ERROR in ./src/components/Hello.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
@ ./src/index.ts 3:0-52 9:24-38
ERROR in ./src/components/Hello.vue?vue&type=template&id=5de655f2 2:0
Module parse failed: Unexpected token (2:0)
You may need an appropriate loader to handle this file type.
|
ERROR in ./src/components/Hello.vue?vue&type=script&lang=ts 30:26
Module parse failed: Unexpected token (30:26)
You may need an appropriate loader to handle this file type.
| },
| computed: {
ERROR in ./src/components/Hello.vue?vue&type=style&index=0&lang=css 38:0
Module parse failed: Unexpected token (38:0)
You may need an appropriate loader to handle this file type.
Trying to do the Single File Component section, and I'm getting this error and I try to do npm run build:
ERROR in ./src/components/Hello.vue Module Error (from ./node_modules/vue-loader/lib/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config. @ ./src/index.ts 3:0-52 9:24-38
ERROR in ./src/components/Hello.vue?vue&type=template&id=5de655f2 2:0 Module parse failed: Unexpected token (2:0) You may need an appropriate loader to handle this file type. |
Closing this out,
Was able to resolve this issue with #47