Skip to content

xing403/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template

This is a template for a new project. Vite, React, Vue, Electron

Vite-React

this is a react project using vite

  • antd: UI components
  • react-router-dom v6: react-router
  • jotai: state management
  • vite: dev server
  • typescript: type checking
  • unocss: atom css
  • auto-import: import react automatically

Vite-Vue

this is a vue project using vite

  • element-plus: UI components
  • vue-router: vue router
  • pinia: state management
  • vite: dev server
  • typescript: type checking
  • unocss: atom css
  • auto-import: import react automatically
  • component: auto resolve component

Vite-Vue-Electron

this is a vue project using vite and electron the template is extends from vite-vue template

  • electron: electron
  • electron-builder: electron builder

Usage

Use git clone command to clone the template under the specified branch by selecting the specified branch

# template clone
git clone -b <branch_name> https://github.com/xing403/template.git

Example

# vite-react
git clone -b vite-react https://github.com/xing403/template.git
# vite-vue
git clone -b vite-vue https://github.com/xing403/template.git
# vite-vue-electron
git clone -b vite-vue-electron https://github.com/xing403/template.git