Uses Vite 6 as the build tool, paired with Vue 3 and JavaScript
vite-vue-js-starter-template — Vue Starter Template
By ElanYoung
A front-end starter template based on Vite 6, Vue 3, and JavaScript, integrating Vue Router, Pinia, TDesign, Less, and Axios, with ESLint, Stylelint, Prettier, Husky, and other code quality tools configured.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 2
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Integrates Vue Router and Pinia for routing and state management respectively
Includes the TDesign component library and Less style preprocessing
Enables automatic API imports and on-demand icon installation via unplugin-auto-import and unplugin-icons
Built-in code and commit convention tools such as ESLint, Prettier, Stylelint, Husky, Lint-Staged, Commitizen, and Commitlint
Offers two usage methods: GitHub Template and local clone, with a usage checklist
Template Details
This is a front-end starter template for Vue 3 and JavaScript projects, using Vite as the build tool. The template includes Vue Router for routing, Pinia for state management, TDesign as the UI component library, Less as the CSS preprocessor, and Axios for HTTP requests. It also provides plugin configurations for automatic API imports and on-demand icon installation.
For engineering standards, the template integrates EditorConfig, ESLint, Prettier, and Stylelint, and manages Git hooks via Husky and Lint-Staged, with Commitizen and Commitlint enforcing commit message conventions. For development tools, it recommends using the pnpm package manager and VS Code extensions (Vite, Volar, EditorConfig, ESLint, Prettier, StyleLint).
The README includes a usage checklist that reminds users to modify the author name in the LICENSE, the title in App.vue, the hostname in vite.config.js, the favicon in public, and to remove the .github folder containing funding information, and clean up the README and routes. The template requires Node version 18 or higher. During development, run npm run dev and visit http://localhost:3000; for building, use npm run build.
Is it right for your project?
Use Cases
- Quickly setting up a basic structure for a Vue 3 + JavaScript front-end project
- Wanting a project that comes with routing, state management, UI component library, and HTTP request encapsulation by default
- Needing to introduce code standards like ESLint, Prettier, and Stylelint and Git commit constraints early in the project
- Creating a new repository via GitHub Template and keeping a clean Git history
Suitable For
- Developers building front-end projects with Vue 3 and JavaScript
- Teams that prefer the Vite build tool and need out-of-the-box configuration
- Multi-person collaborative projects aiming to unify code style and commit conventions
- Quickly starting new project prototypes or internal tools based on the template
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Requires Node.js version 18 or higher.
- 2
pnpm is recommended as the package manager, but npm can also be used to install dependencies.
- 3
During development, run npm run dev and visit http://localhost:3000; for building, use npm run build.
- 4
After using the template, follow the README checklist to modify the author name in LICENSE, the title in App.vue, the hostname in vite.config.js, the favicon in public, and remove the .github folder, and clean up the README and routes.
- 5
Windows users are advised to first run git config --global core.autocrlf input to disable line ending conversion.
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license from a public repository; the free scope applies to that version's code and does not imply that external services or third-party assets are free.
Must comply with when using
- Free use, modification, commercial use, and distribution of that version's code are permitted.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as-is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- After using the template, you must modify the author name in the LICENSE, i.e., retain the original copyright notice while replacing it with your own attribution.
- After using the template, you should remove the .github folder containing funding information.
- Running this template requires Node.js version 18 or higher.
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses; they cannot be judged solely based on the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
Change the author name in `LICENSE`
Original README
Remove the `.github` folder which contains the funding info
Original README
https://github.com/ElanYoung/vite-vue-js-starter-template/blob/master/LICENSEhttps://github.com/ElanYoung/vite-vue-js-starter-template/blob/master/README.mdVite5 Vue3 JavaScript Starter Template requires Node >= 18.00
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- More documented · 90 / 100
- Technologies
- Vue · Vite
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2025-05-28
- Screenshot last checked
- 2026-10-02
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Vue as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Automatically checked against source and license rules; no manual editorial review.
Inspect the recorded source material
SHA-256: 1a26e3044c87c8143717df1be2573ca1fdc552b51142fd7e21864a68dfa0287f
2026-10-02T11:39:29.380Z
Source file / repository<h1 align="center"><a href="https://github.com/ElanYoung/vite-vue-js-starter-template" target="_blank">Vite 6 🚀 - Vue 3 Starter Template</a></h1>
<p align="center">
<a href="https://nodejs.org/en/about/releases/">
<img src="https://img.shields.io/node/v/vite.svg" alt="node compatility" />
</a>
<a href="https://github.com/vuejs/vue">
<img src="https://img.shields.io/badge/vue-3.5.15-brightgreen.svg" alt="vue" />
</a>
<a href="https://cn.vitejs.dev" rel="nofollow">
<img src="https://img.shields.io/badge/vite-6.3.5-3963bc.svg" alt="vite" style="max-width:100%;" />
</a>
<a href="https://github.com/vuejs/router">
<img src="https://img.shields.io/badge/vue--router-4.5.1-brightgreen.svg" alt="vue-router" />
</a>
<a href="https://github.com/vuejs/pinia">
<img src="https://img.shields.io/badge/pinia-3.0.2-brightgreen.svg" alt="pinia" />
</a>
<a href="https://doc.starimmortal.com">
<img alt="author" src="https://img.shields.io/badge/author-ElanYoung-blue.svg" />
</a>
<a href="https://github.com/ElanYoung/vite-vue-js-starter-template/blob/master/LICENSE">
<img alt="LICENSE" src="https://img.shields.io/github/license/ElanYoung/vite-vue-js-starter-template.svg" />
</a>
</p>
<p align='center'>
<b>Vite6</b> + <b>Vue3</b> + <b>JavaScript</b> + <b>Vue Router</b> + <b>Pinia</b> + <b>TDesign</b> + <b>Less</b> + <b>Axios</b> + <b>ESLint + Stylelint + Prettier</b>
</p>
<p align='center'>
<a href="https://elanyoung.github.io/vite-vue-js-starter-template">Live Demo</a>
</p>
<p align="center">
<span>English | <a href="./README.zh-CN.md">简体中文</a></span>
</p>
## Features
+ ⚡️ [Vite 6](https://github.com/vitejs/vite) - born with fastness
+ 🖖 [Vue 3](https://github.com/vuejs/core) - Composition API and `<script setup>`
+ 🚦 [Vue Router](https://github.com/vuejs/router) - The official router for Vue.js.
+ 📦 [Pinia](https://github.com/vuejs/pinia) - Intuitive, type safe and flexible Store for Vue
+ 💻 [TDesign](https://github.com/Tencent/tdesign-vue-next) - Vue Next for Web
+ 🎨 [Less](https://github.com/less/less.js) - It's CSS, with just a little more
+ 📥 [APIs auto importing](https://github.com/antfu/unplugin-auto-import) - Use Composition API and others directly
+ 😃 [Icons auto install](https://github.com/unplugin/unplugin-icons) - Access thousands of icons as components on-demand universally.
+ 🔗 [Axios](https://github.com/axios/axios) - Promise based HTTP client for the browser and node.js
+ 🧰 [Husky](https://typicode.github.io/husky/#/) + [Lint-Staged](https://github.com/okonet/lint-staged) - Git Hook Tools
+ 🛡️ [EditorConfig](http://editorconfig.org) + [ESLint](http://eslint.org) + [Prettier](https://prettier.io) + [Stylelint](https://stylelint.io) - Code Standards
+ 🔨 [Commitizen](https://cz-git.qbb.sh/zh) + [Commitlint](https://commitlint.js.org) - Submit Standards
## Coding Style
+ Use Composition API with [`<script setup>` SFC syntax](https://github.com/vuejs/rfcs/pull/227)
+ [ESLint](https://eslint.org)
+ [Prettier](https://prettier.io)
+ [Stylelint](https://stylelint.io)
## Development Tools
+ [pnpm](https://pnpm.io/) - fast, disk space efficient package manager
+ [Visual Stuido Code Extensions](./.vscode/extensions.json)
+ [Vite](https://marketplace.visualstudio.com/items?itemName=antfu.vite) - Fire up Vite server automatically
+ [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) - Vue 3 `<script setup>` IDE support
+ [EditorConfig for VS Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig) - A solution for unifying code formats
+ [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - Find and fix problems in your JavaScript code
+ [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - An opinionated code formatter
+ [StyleLint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) - A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
## Try it now!
> Vite5 Vue3 JavaScript Starter Template requires Node >= 18.00
### GitHub Template
[Create a repo from this template on GitHub](https://github.com/ElanYoung/vite-vue-js-starter-template/generate).
### Clone to local
If you prefer to do it manually with the cleaner git history
```bash
# [optional] if you are using Windows, you need to close the end-of-line conversion
git config --global core.autocrlf input
# clone repository
git clone https://github.com/ElanYoung/vite-vue-js-starter-template
# open folder vite-vue-js-starter-template
cd vite-vue-js-starter-template
# install packages
npm i
```
## Checklist
When you use this template, try follow the checklist to update your info properly
- [ ] Change the author name in `LICENSE`
- [ ] Change the title in `App.vue`
- [ ] Change the hostname in `vite.config.js`
- [ ] Change the favicon in `public`
- [ ] Remove the `.github` folder which contains the funding info
- [ ] Clean up the READMEs and remove routes
## Usage
### Development
> Just run and visit http://localhost:3000
```bash
## install dependencies
npm install
## set up
npm run dev
```
### Build
```bash
## build
npm run build
```
## Achievement
🎉 Added to the [Awesome Vite.Js](https://github.com/vitejs/awesome-vite#vue-3)
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2022 ElanYoung
Explore similar templates
Compare previews and descriptions within the same stack and category.

vitesse
Vitesse is an opinionated Vite + Vue 3 starter template maintained by antfu-collective, offering file-based routing, component and API auto-import, Pinia, UnoCSS, PWA, i18n, Markdown, vite-ssg, TypeScript, Vitest, and Cypress.
Vue · Starter

vitesse-webext
vitesse-webext is a Vite-powered WebExtension starter template using Vue 3 and TypeScript, with built-in popup, options, and content script examples. It targets Chrome and Firefox, integrates webextension-polyfill, webext-bridge, UnoCSS, VueUse, and unplugin tools, and supports hot reload during development.
Vue · Starter

laravel-vue-spa
A Laravel + Vue SPA starter kit for quickly building a decoupled web application skeleton. It includes login, registration, email verification, and password reset flows, uses JWT for authentication, and integrates Laravel Socialite with GitHub as an example provider.
Vue · Starter

vue3-h5-template
A mobile H5 starter template built on Vue3, Vite, and Vant4, with TypeScript by default and JavaScript and i18n branches.
Vue · Starter

tov-template
tov-template is an MIT-licensed Vite + Vue 3 + TypeScript starter maintained by dishait. It bundles file-based routing, layouts, Mock, auto-imports, UnoCSS, Pinia, vue-request, Vitest, i18n, dark mode, Dockerfile, and engineering scripts.
Vue · Starter

shadcn-vue-landing-page
A Vue + Shadcn-Vue + TypeScript + Tailwind landing page template with sections like Navbar, Hero, Pricing, FAQ, Team, and Contact, plus dark mode and responsive layout.
Vue · Corporate Website
