English / ็ฎไฝไธญๆ
๐ An opinionated Vue 3/TypeScript starter template.
- Based on Vue 3, Vite, pnpm
- TypeScript, of course
- Naive UI as UI framework
- Tailwind CSS for rapid development based on atomic CSS
- Sass for CSS pre-processing
- Vue Router for routing management
- Pinia for global state management
- Axios for request management
- [iconify/json] and [unplugin-icons] for icon management, can use icones quickly
- [unplugin-auto-import] and [unplugin-vue-components] for automatic import, free your hands
- ESLint for code checking
- Prettier for code formatting
- [cspell] for code spell checking
- Husky and [lint-staged] and [commitlint] for Git commit management
- Docker and Docker Compose for containerization
- Use
@/*as absolute path - Deploy on Vercel, zero config
Vue Starter Template requires Node version >=14.16.0
Create a repo using this template.
If you prefer to do it manually with a cleaner Git history then follow these steps:
npx degit recallwei/vue-starter-template my-app
cd my-app
pnpm iWhen using this template, try to update your own information correctly according to the checklist:
- Clean up
README.md - Change author name in
LICENSE - Change project name, description, author, etc. in
package.json - Modify environment variables in
.envand delete the file.env.examplewhich is an example of environment variables - Modify the site meta data in
index.html - Change
favicon.icoin the/publicdirectory - Change the interface proxy in
vite.config.ts - Change the site meta data in
src/app.config.ts - Delete the example API in the
src/apidirectory - Delete the example images in the
src/assets/imagesdirectory - Delete the example route in the
src/routerdirectory - Delete the example view in the
src/viewsdirectory - Delete the example store in the
src/storedirectory
- xxx
- Node.js >=16.14.0
- pnpm
Config .env file, refer to .env.example.
pnpm ipnpm devpnpm build- xxx
MIT License ยฉ 2023 Bruce Song