Answers for "vue with typescript"

0

typescript for vue

// tsconfig.json
{
  "compilerOptions": {
    // this aligns with Vue's browser support
    "target": "es5",
    // this enables stricter inference for data properties on `this`
    "strict": true,
    // if using webpack 2+ or rollup, to leverage tree shaking:
    "module": "es2015",
    "moduleResolution": "node"
  }
}
Posted by: Guest on April-01-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language