KingPengZero / vue3-vite-ts-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ultimate Vue3 + Vite + TS base

Just a big starting point for any frontend projects using vite

git Vite logo Vue logo

Guideline

Goal

This project main goal is to provide a way to deploy vue applications by using vite along with ts, pinia and vue router4 and much more features a frontend developer needs.

How to Use

git pull

npm install

// start the development server
npm run dev

// build for deployment
npm run build

// run test with exit code
npm run test

// test with uni
npm run test:ui

// start docs development server
npm run docs:dev

// build docs for deployment
npm run docs:build

Repo Features

  • Latest Vue3.2.37
  • Latest vue & requirements.

  • Localizations
  • i18n Ready.

  • Router System
  • Vue router V4.

  • Mixins
  • Vue mixins are configured.

  • Enviroments
  • Development and production .env files.

  • Git
  • Vue gitignore and README with MIT license.

  • Unit test
  • Vitest for component testing.

  • Docs
  • Vitepress for documentations.

  • Lodash & Axios
  • Lodash/axios are pre installed.

  • State Management
  • Pinia is used for state management.

  • Vue Router 4
  • Vue router 4 is used for routing.

  • Lazy Load
  • Components are lazy loaded in routes.

  • Logger
  • Basic logger plugin.

  • Validator
  • Validator plugin to validate inputs.

  • Build ready
  • Build configs are all set.

  • Less
  • Less is installed and configured.

License

MIT.

Todo

  • [*] fix build configs.
  • [] add validator docs.

Bugs

Feel free to let me know if something needs to be fixed. or even any features seems to be needed in this repo.

About

License:MIT License


Languages

Language:TypeScript 82.4%Language:Vue 8.1%Language:Less 7.7%Language:HTML 1.8%