This template should help you get started developing with Vue MDBootstrap v2.0 in Vite.
VSCode + Vue - Official (and disable Vetur).
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Vue - Official to make the TypeScript language service aware of .vue file types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Vue - Official has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
See Vite Configuration Reference.
# with npm
npm install
# with yarn
yarn install# with npm
npm run dev
# with yarn
yarn dev# with npm
npm run build
# with yarn
yarn build