Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Update deps please #50

Open
ghost opened this issue May 30, 2018 · 1 comment
Open

Update deps please #50

ghost opened this issue May 30, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 30, 2018

Update webpack and other deps please.

@UdoW
Copy link

UdoW commented Jul 11, 2018

This tutorial is out-dated. This is because of using a newer version of vue-loader: See breaking changes documented here: https://vue-loader.vuejs.org/migrating.html#migrating-from-v14

I recommend to update the tutorial and use fixed versions of the dependencies and not to use the latest which would probably not wotk with the tutorial description.

For this tutorial you will get the error message (when you try to build the Hello.vue):

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 2:0-52 10:24-38

ERROR in ./src/components/Hello.vue?vue&type=script&lang=ts 29:26
Module parse failed: Unexpected token (29:26)
You may need an appropriate loader to handle this file type.
| },
| computed: {

    exclamationMarks(): string {

| return Array(this.enthusiasm +1).join('!');
| }
@ ./src/components/Hello.vue 2:0-56 3:0-51 3:0-51 10:2-8
@ ./src/index.ts

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.
|

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant