A Vue 3 + Vite template for multi-user and multi-role background permission management with front and back ends separated.
English | 简体中文
Front-end project with back-end project php-seed.
If you want to use this project but don't want to use the back-end project php-seed, use other languages to implement the same interface as the back-end project,Very simple!
Welcome friends to star and issues ~ thank you :)
- Node >= 16.13
- Npm >= 8.5
# clone project
git clone https://github.com/Zoctan/admin-vue3-template.git
# install dependencies
npm install
# modified src/router/index.js:
# not use a domain name (deployed locally and accessed with 127.0.0.1)
history: createWebHashHistory()
# use a domain name (deployed locally or on a server, bind a domain name)
history: createWebHistory()
# build and put the 'dist' folder in the 'WWW' directory
npm run build
api: back-end API request
assets: static resources
directive: directives available in component instances
layout: page Layout
router: router
store: vuex store
utils: tool function
views: views
App.vue: main view
main.js: global entry
.env: environment configuration
.env.development: development environment configuration
.env.production: production environment configuration
.eslintrc.js: code specification
babel.config.js: code specification
index.html: static entry
vite.config.js: vite configuration
- Axios: Promise based HTTP client for the browser and node.js
- Element Plus: Vue3 based component library
- Vue3: JavaScript framework for building user interfaces
- Vite: Build tool
- Vuex: State management pattern + library for Vue.js
- Vue Router: Official router for Vue.js
- NProgress: Minimalist progress bar