Без опису

Vben 5cc9488bd6 workflow: add ftp-schedule workflow 4 роки тому
.github 5cc9488bd6 workflow: add ftp-schedule workflow 4 роки тому
.husky 8ccf778fb7 workflow: update deploy workflow [deploy] 4 роки тому
.vscode 5cc9488bd6 workflow: add ftp-schedule workflow 4 роки тому
build 7e564c2984 chore: update deps 4 роки тому
mock 589409305f perf: adjust the return value of the interface to obtain user information in array format #259 4 роки тому
public 5db3ce7737 refactor: add loading component and demo 4 роки тому
src 5eac9b23d6 fix: change transition-duration to make animate smoothly (#294) 4 роки тому
test 7e564c2984 chore: update deps 4 роки тому
.editorconfig 07c18d602e chore: add some notes 4 роки тому
.env eba55769ec feat: support vite2 4 роки тому
.env.development bd7b53f14a fix(build): fix environment variable configuration file failure 4 роки тому
.env.production be3a3ed699 perf: remove useless code 4 роки тому
.eslintignore 07c18d602e chore: add some notes 4 роки тому
.eslintrc.js 7e564c2984 chore: update deps 4 роки тому
.gitignore bd6b203fa9 fix(upload): repair file upload and delete invalidation 4 роки тому
.ls-lint.yml 422ea3a765 chore: update deps 4 роки тому
.prettierignore c0e4c9e5a5 feat(tinymce): add rich editor 4 роки тому
.stylelintignore c0e4c9e5a5 feat(tinymce): add rich editor 4 роки тому
.yarnclean 9edc281322 chore: format code by eslint #222 4 роки тому
CHANGELOG.en_US.md 562189dfb0 chore: bump 2.0.1 4 роки тому
CHANGELOG.md 562189dfb0 chore: bump 2.0.1 4 роки тому
CHANGELOG.zh_CN.md 8ccf778fb7 workflow: update deploy workflow [deploy] 4 роки тому
LICENSE 2f6253cfb6 initial commit 4 роки тому
README.md 993538de21 feat: added brotli|gzip compression and related test commands 4 роки тому
README.zh-CN.md 993538de21 feat: added brotli|gzip compression and related test commands 4 роки тому
commitlint.config.js ad36886559 chore: add .github and .vscode 4 роки тому
index.html 99ac309fa9 wip: support vite 4 роки тому
package.json 5cc9488bd6 workflow: add ftp-schedule workflow 4 роки тому
postcss.config.js 61cf0f791e fix(moment): fix moment error #217 4 роки тому
prettier.config.js 07c18d602e chore: add some notes 4 роки тому
stylelint.config.js 07c18d602e chore: add some notes 4 роки тому
tsconfig.json a09a0eedd2 perf: improve login logic 4 роки тому
vite.config.ts 27c6f69091 chore: useErrorHandle default hidden 4 роки тому
windi.config.ts 8ccf778fb7 workflow: update deploy workflow [deploy] 4 роки тому
yarn.lock 5cc9488bd6 workflow: add ftp-schedule workflow 4 роки тому

README.md

VbenAdmin Logo

VUE VBEN ADMIN2.0

[Chinese](./README.zh-CN.md) | **English** [CHANGELOG](CHANGELOG.en_US.md) - [Introduction](#introduction) - [GitHub](#github) - [Thin](#thin) - [Preview](#preview) - [Documentation](#documentation) - [Preinstallation](#preinstallation) - [Environmental requirements](#environmental-requirements) - [UI framework](#ui-framework) - [Icon](#icon) - [Plugin](#plugin) - [Suggested development environment](#suggested-development-environment) - [Install](#install) - [Usage](#usage) - [Development environment](#development-environment) - [Build](#build) - [Format](#format) - [Other](#other) - [Git submit specifications](#git-submit-specifications) - [Code contribution](#code-contribution) - [Finished features](#finished-features) - [Developing features](#developing-features) - [Browser support](#browser-support) - [Plugins](#plugins) ## Introduction The project is based on the vue3 style background management system implemented by ʻant-design-vue`, `typescript`,`vue3.0`,`vite`,`tsx`, ## GitHub [vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` branch ### Thin [vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) ## Preview - [2.0 preview](https://vvbin.cn/next/) - [2.0 Thin Preview](https://vvbin.cn/thin/next/) Account for test: vben/123456

VbenAdmin Logo VbenAdmin Logo VbenAdmin Logo

Documentation

The documentation for 2.0 hasn't started yet, it will be provided later.

Preinstallation

Environmental requirements

  • Node.js: - Version > 12.0.0 .
  • yarn : - Package management tool.

UI framework

Icon

Plugin

Suggested development environment

Install

#  Make git case sensitive to file names
git config core.ignorecase false

# Pull code of the project
git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0

cd vue-vben-admin-2.0

# If you use other package management tool, you can install it by yourself
#  if you hasn't install yarn, please run: npm install -g yarn
yarn install

Usage

Development environment

yarn serve

Build


yarn build # build

yarn build:no-cache # build, cache will be removed before build

yarn report # Generate build package report preview

Format

yarn lint:stylelint # css formatting

yarn lint:prettier # js/ts code formatting

Other

yarn reinstall # Remove dependencies and reinstall, supported window

yarn preview # Build and preview in local

yarn log # Generate CHANGELOG

yarn clean:cache # Delete cache

yarn clean:lib # Delete node_modules, supported window

Git submit specifications

  • Refer to vue specifications (Angular)

    • feat Add new features
    • fix Fix problem/BUG
    • style Code style related and doesn't affect the running result
    • perf Optimization/performance improvement
    • refactor Refactor
    • revert Undo edit
    • test Test related
    • docs Documentation/notes
    • chore Dependent update/scaffolding configuration modification etc
    • workflow Workflow improvements
    • ci Continuous integration
    • types Update file of type definition
    • wip Developing

Code contribution

  1. Fork code!
  2. Create your own branch: git checkout -b feat/xxxx
  3. Submit your changes: git commit -am 'feat(function): add xxxxx'
  4. Push your branch: git push origin feat/xxxx
  5. submitpull request

Finished features

  • Project construction (based on vite))
  • Login and exit
  • Menu (can search, drag and drop and menu layout)
  • Multiple tabs/breadcrumbs
  • Permission management base on role
  • Permission management base on background
  • The separation of routing and menu settings
  • Collapsible sidebar
  • Draggable sidebar
  • Multi-tab mode/global control
  • Menu search
  • Page loading
  • Scroll bar component
  • Pop-up window expansion (dragable, full screen, adaptive height)
  • Mock data
  • hook Package
  • Form component
  • Right-click menu
  • Watermark plugin
  • Animation component
  • QR code plugin
  • Internationalization plugin
  • Details component
  • Validation component
  • Tree component
  • Picture preview component
  • Table component
  • Chart library
  • Digital animation
  • First screen loading waiting animation
  • Extract the production environment profile
  • Build Gzip
  • System performance optimization
  • Data import and export
  • Global error handling
  • Rich text component
  • Upload component

Developing features

  • Theme configuration
  • Dark theme
  • Build CDN

If you have more components/functions/suggestions/bugs/, welcome to submit pr or issue.

Browser support

It is recommended to use the Chrome browser for local development. Development in the Firefox browser is relatively slow.

Support modern browsers, Not currently supported ie11,Follow-up consideration support ie11

IEEdgeFirefox
 Edge
 Edge
Firefox
ChromeChrome SafariSafari not support last 2 versions last 2 versions last 2 versions last 2 versions

More browsers can view Can I Use Es Module

Plugins

If these plugins are helpful to you, you can give a star