-
Notifications
You must be signed in to change notification settings - Fork 4.4k
webpack template and typescript #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
add a file named {
"compilerOptions": {
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"module": "es2015",
"moduleResolution": "node",
"noImplicitAny": true,
"target": "es5",
"lib": ["dom", "es5", "es2015.promise"]
},
"files": [
"./src/main.ts"
]
} learn more >> tsconfig |
Thank you. But I created https://github.com/gorshkov-leonid/vue-experiments/blob/master/test-vue/tsconfig.json but I do not know which settings can help me/ I used "include" option. And It is working in https://github.com/gorshkov-leonid/vue-experiments/tree/master/vue-ts-loader, but not working in test-vue. tsconfigs are equal. |
I create thread in forum, but quiet yet... |
maybe it's because of missing |
Sounds like this is solved? |
thank you! |
Hello,

I tested example with typescript from vue-class-component, it is working. I tried to apply this solution to webpack template. So it is ts-loader+ typescript dependencies, tsconfig.json, lang="ts" of script tag, and webpack rule in webpack.base.conf.js.
But I got error TS18003:
It is not bug of this repository, but I hope you will help me
The text was updated successfully, but these errors were encountered: