Skip to content

🎊🎊🎊Vue3 is created, combined with Element-Plus, and the interface is beautiful and interactive. Use UNOCSS to shape the unique style, Vueuse improves efficiency, encapsulates easy components, simplifies processes, and management is efficient.

License

Notifications You must be signed in to change notification settings

wjp980108/meet-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Meet-Admin

English | δΈ­ζ–‡

Introduction

Meet-Admin is an open-source admin framework based on Vue 3.4, TypeScript, Vite 5, Pinia, and Element-Plus. It uses the latest technology stack. This project also wraps common components, hooks, directives, dynamic routing, and other features.

Online preview

Code repository

Project documentation

Project function

  • Developed using Vue3.4 + TypeScript, single file component**<script setup>**
  • Use Vite5 as project development and packaging tool (configuration of gzip/brotli packaging, tsx syntax, cross-domain proxy...)
  • Use Pinia to replace Vuex, lightweight, simple and easy to use, integrating Pinia persistence plug-in
  • Use TypeScript to encapsulate the entire Axios secondary package (request interception, cancellation, common request encapsulation...)
  • Supports Element component size switching, dark mode, and i18n internationalization
  • Use VueRouter to configure dynamic routing and lazy loading of routes
  • Use KeepAlive to cache pages and support multi-level nested route caching
  • Use husky, lint-staged, commitlint, czg, cz-git to standardize submission information

Installation and usage steps

  • Clone:
# GitHub
git clone https://github.com/wjp980108/meet-admin.git
  • Install:
pnpm install
  • Run:
# development
pnpm dev

# test
pnpm dev:test

# production
pnpm dev:prod
  • Build:
# test
pnpm build:test

# production
pnpm build
  • Lint:
# Eslint instrumentation code
pnpm lint

# Eslint fix code
pnpm lint:fix
  • commit:
# Submit the code (the lint:lint-staged command will be automatically executed before submission)
pnpm commit

File resource directory

Meet-Admin
β”œβ”€ .husky                  # Husky configuration file
β”œβ”€ public                  # Static resource files (this folder will not be packaged)
β”œβ”€ src
β”‚  β”œβ”€ api                  # API interface management
β”‚  β”œβ”€ assets               # Static resource files
β”‚  β”œβ”€ components           # Global components
β”‚  β”œβ”€ config               # Global configuration items
β”‚  β”œβ”€ constants            # Global constants
β”‚  β”œβ”€ directives           # Global directive file
β”‚  β”œβ”€ hooks                # Commonly used Hooks packages
β”‚  β”œβ”€ locales              # Language internationalization i18n
β”‚  β”œβ”€ layouts              # Frame layout module
β”‚  β”œβ”€ router               # Route management
β”‚  β”œβ”€ stores               # Pinia store
β”‚  β”œβ”€ styles               # Global style file
β”‚  β”œβ”€ typings              # Global ts declaration
β”‚  β”œβ”€ utils                # Commonly used tool library
β”‚  β”œβ”€ views                # All project pages
β”‚  β”œβ”€ App.vue              # Project main component
β”‚  └─ main.ts              # Project entry file
β”œβ”€ .env                    # Vite common configuration
β”œβ”€ .env.dev                # Development environment configuration
β”œβ”€ .env.prod               # Production environment configuration
β”œβ”€ .env.test               # Test environment configuration
β”œβ”€ .gitignore              # Ignore git commits
β”œβ”€ .nvmdrc                 # Node version management configuration
β”œβ”€ CHANGELOG.en-US.md      # Project update log (English)
β”œβ”€ CHANGELOG.zh-CN.md      # Project update log (Chinese)
β”œβ”€ commitlint.config.js    # Git commit specification configuration
β”œβ”€ eslint.config.js        # Eslint configuration file
β”œβ”€ index.html              # Entry html
β”œβ”€ LICENSE                 # Open source agreement document
β”œβ”€ package.json            # Dependency package management
β”œβ”€ pnpm-lock.yaml          # Pnpm dependency management
β”œβ”€ README.md               # README introduction
β”œβ”€ README.zh-CN.md         # README introduction (Chinese)
β”œβ”€ tsconfig.json           # Typescript global configuration
β”œβ”€ uno.config.ts           # UnoCss configuration file
└─ vite.config.ts          # Vite global configuration file

Browser support

  • For local development, it is recommended to use the latest version of Chrome browser Download。
  • The production environment supports modern browsers, IE browser is no longer supported, more browsers can view Can I Use Es Module。
IE Edge Firefox Chrome Safari
not support last 2 versions last 2 versions last 2 versions last 2 versions

Project backend interface

The project backend interface completely uses Mock data, thanks to the following Mock platform support:

About

🎊🎊🎊Vue3 is created, combined with Element-Plus, and the interface is beautiful and interactive. Use UNOCSS to shape the unique style, Vueuse improves efficiency, encapsulates easy components, simplifies processes, and management is efficient.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published