Creating A Meteor Project That Uses Vue And Typescript
I'm having a lot of trouble trying to get Typescript working in a Meteor project with Vue. I've created a project from scratch using these commands. Commands meteor create --vue gi
Solution 1:
Thanks for the detailed commands and setup directions.
Indeed I ran into the same problem, so I tried cloning nathantreid:vue-typescript into packages directory and restarted the application. It installed these packages then continued to work flawlessly!
"devDependencies": {
"@babel/plugin-transform-typescript": "^7.12.1",
"@types/meteor": "^1.4.67",
"@babel/core": "^7.4.4",
"@babel/plugin-syntax-decorators": "^7.2.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0"
}
So, I recommend that you first try installing these dev dependencies first and it doesn't work then try cloning the package as I did. Good Luck!
Post a Comment for "Creating A Meteor Project That Uses Vue And Typescript"