Files
vue-template/tsconfig.node.json
siujamo 0b1c394cfd feat: initialise Vue 3 SPA template
- Add Tailwind CSS v4 with light/dark theme support
- Add layout system (default, sidebar, blank)
- Add mock authentication with Pinia store and route guards
- Add error pages (404, 500) and example views
- Add Vitest with 10 example tests across stores
- Configure Prettier formatting and ESLint linting
2026-06-18 16:38:51 +08:00

28 lines
964 B
JSON

// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
{
"extends": "@tsconfig/node24/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"playwright.config.*",
"eslint.config.*"
],
"compilerOptions": {
// Most tools use transpilation instead of Node.js's native type-stripping.
// Bundler mode provides a smoother developer experience.
"module": "preserve",
"moduleResolution": "bundler",
// Include Node.js types and avoid accidentally including other `@types/*` packages.
"types": ["node"],
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
"noEmit": true,
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
// Specified here to keep it out of the root directory.
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
}
}