A vite-based front-end startup template generator.
To create a new project using vite-template-starter, simply run the following command in your terminal:
npx vite-template-starter@latest
Note
(@latest
or @legacy
) MUST NOT be omitted, otherwise npm
may resolve to a cached and outdated version of the package.
- Step1 Select your language.
√ Select your language:
> EN
> 中文
- Step2 Select dependency to add the project.
√ Project name: >> vite-starter
√ Select your packageManager:
> npm
> yarn
> pnpm
√ Select a framework:
> vue
> react
√ Add JSX Support? ... off / on
√ Add Vue Router for Single Page Application development? ... off / on
√ Add Pinia for state management? ... off / on
√ Add ESLint for code quality? ... off / on
√ Add Prettier for code formatting? ... off / on
√ Add Husky for git hooks? ... off / on
- Step3 Select vite plugin.
√ Select custom plugins:
( ) @vueuse/core
( ) rollup-plugin-visualizer
( ) unplugin-auto-import
( ) unplugin-vue-components
( ) vite-plugin-compression
( ) vite-plugin-external-cdn
( ) vite-plugin-html
( ) vite-plugin-image-optimizer
( ) vite-svg-loader