Skip to content

🎉 A new generation vue3 admin template using vue3(script-setup) + vite2 + element-plus + typescript

License

Notifications You must be signed in to change notification settings

ErwinFloresMarca/vue3-admin-ts

Repository files navigation

vue3-admin-ts

English | 中文

vue3 admin plus provides enterprise-level development demo

A new generation admin construct using vue3(setup-script)+vite2+element-plus ,It's fast!

Use eslint+prettier+gitHooks format and verification code to improve code standardization and development efficiency

Update log

//11-11
update element-plus vite2 vue3 version ,add func of element-svg icon for side menu
add domo of 'import export download template' in CRUD
//11-26
update vue3 version and so on;
add keep-alive use demo and router using  demo ,look for "http://8.135.1.141/vue3-admin-template/#/writing-demo/keep-alive"
add the param cachePage and leaveRmCachePage to route for keep-alive,look for https://github.com/jzfai/vue3-admin-template/blob/master/src/router/index.js
add collection the error log of img loading fail,look for "http://8.135.1.141/vue3-admin-template/#/error-log/log"
in router page you need add root element,such as div, but is not necessary for children component
fix some issue

Online experience

github address

Access address

国内体验地址:http://8.135.1.141/vue3-admin-ts

github 地址: https://github.com/jzfai/vue3-admin-ts.git

Demo

---- Let's look at the loading speed and the size of the built package first.:

template-speed-analysis

template-demo

Related items

The framework is available in js, ts and plus versions

development and experience:two words Really fragrant!!!!!

Documents

Comparison of performance between vue3 and vue2

  • 41% reduction in package size

  • The initial rendering is 55% faster, the update rendering is 133% faster

  • Memory reduction 54%

  • Use Proxy instead of defineProperty to implement data responsiveness

  • Rewrite the implementation of virtual DOM and Tree-Shaking

Comparison of packaging speed between vite2 and webpack

Build Setup

# clone the project
git clone https://github.com/jzfai/vue3-admin-ts.git

# enter the project directory
cd vue3-admin-ts

# install dependency(Recommend use yarn)
yarn

# develop
yarn run dev

using the browser to open http://localhost:5001

Build

# build for dev environment
yarn run build-serve

# build for production environment
yarn run  build

Others

# preview the dev environment effect
yarn run preview:build-serve

# preview the release environment effect
yarn run preview

# code format check
yarn run lint

Extra

Architecture development is not easy. If you feel good, please give me a start. The architecture is still being improved. Welcome to join me in development and become Contributors together! ! ! !

Browsers support

Note: Vue3 is not supported the Internet Explorer

Modern browsers and Internet Explorer 11+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge last 2 versions last 2 versions last 2 versions

Discussion and Communication

WeChat group

License

MIT license.

Copyright (c) 2021-present kuanghua

About

🎉 A new generation vue3 admin template using vue3(script-setup) + vite2 + element-plus + typescript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 39.9%
  • TypeScript 28.4%
  • SCSS 19.0%
  • JavaScript 12.1%
  • Other 0.6%