This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Bootstrap New Node Project for TypeScript
In this lesson, setup a new Node.js project for following along with the rest of the course. Alternatively, you can skip the lesson and download the boilerplate code. Do note the tsx script that’s been added in package.json for running typescript files with a .env file loaded.
// tsconfig.json
{
"compilerOptions": {
"noEmit": true,
"target": "esnext",
"module": "nodenext",
"rewriteRelativeImportExtensions": true,
"erasableSyntaxOnly": true,
"verbatimModuleSyntax": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
}
Links
