You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
I have a Vue 2 project that uses Webpack and typescript with class component syntax. The class component syntax is made available with the 'av-ts' plugin. I am trying to replace av-ts with vue-class-component/vue-property-decorator but my webpack bundler is throwing this error after I adjusted one of the components.
ERROR in ./src/components/example-component/example.component.ts
Module not found: Error: Can't resolve 'vue-property-decorator' in '/app/src/components/example-component'
@ ./src/components/example-component/example.component.ts 20:0-62
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://0.0.0.0:3000 ./src/main.ts
Child html-webpack-plugin for "index.html":
1 asset
1 module
webpack: Failed to compile.
Versions:
OS: Ubuntu Remote
node: 8.4.0
npm: 5.3.0
webpack: 3.8.1
typescript: 2.6.1
vue: 2.5.0
vue-property-decorator: 9.1.2
vue-class-component: 7.2.6
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a Vue 2 project that uses Webpack and typescript with class component syntax. The class component syntax is made available with the 'av-ts' plugin. I am trying to replace av-ts with vue-class-component/vue-property-decorator but my webpack bundler is throwing this error after I adjusted one of the components.
Versions:
The text was updated successfully, but these errors were encountered: