<<<<<<< HEAD 中文 | English
项目基于ant-design-vue
,typescript
,vue3.0
,vite
,tsx
实现的 vue3 风格的后台管理系统,
vue-vben-admin2.0 - main
分支
======= Chinese | English
- Introduction
- GitHub
- Preview
- Documentation
- Preinstallation
- Install
- Usage
- Git submit specifications
- Code contribution
- Finished features
- Developing features
- Browser support
- Plugins
The project is based on the vue3 style background management system implemented by ʻant-design-vue,
typescript,
vue3.0,
vite,
tsx`,
vue-vben-admin2.0 - main
branch
1fac4b4ba76d432b9a56e142a8d56571e825950f
<<<<<<< HEAD
-
1fac4b4ba76d432b9a56e142a8d56571e825950f
Account for test: vben/123456
The documentation for 2.0 hasn't started yet, it will be provided later.
<<<<<<< HEAD
Node.js
: - 版本最好大于12.0.0
Node.js
: - Version>12.0.0
is better.yarn
>npm
>cnpm
: - Package management tool.1fac4b4ba76d432b9a56e142a8d56571e825950f
- Tailwind CSS - 2.0.0-beta.5 has deleted.
- Ant Design Vue 2.0
<<<<<<< HEAD 测试账号: vben/123456
当你开始使用时,请按下面列表先行修改项目
- 重命名
package.json
中的name
字段 - 在
LICENSE
中更改作者姓名 - 在
public
中修改favicon.ico
- 在
public/resource/
和/src/assets/images/logo.png
中修改logo.png
- 在
.env[xxx]
文件中修改相关项目配置 - 在
src/settings/projectSetting.ts
内调整适合自己的项目风格 - 项目默认启用角色来控制菜单,且后台请求菜单已被注释,如果需要使用后台动态生成路由。
- 请将
/src/store/modules/permission.ts
内的关于动态请求菜单的注释放开 - 请将
/src/utils/helper/routeHelper.ts
内的关于动态请求菜单的注释放开
- 请将
依赖删除了echarts
,apexcharts
,zxcvbn
,qrcode
,xlsx
,vditor
。但是组件及代码未删除。在你未引用到相关组件的时候,不会发出错误。当你需要使用的时候,只需要执行相应的命令安装对应模块即可
需要用到哪个则执行对应命令
yarn add echarts
yarn add apexcharts
=======
### Icon
- [Ant Design Vue Icon Component](https://2x.antdv.com/components/icon-cn/) - Icon which is imported on demand.
- [Iconify](https://iconify.design) - Icon can be used [Icônes](https://icones.netlify.app/)
- [PurgeIcons](https://github.com/antfu/purge-icons) - Icon which is used by build.
### Plugin
- [Vue Router Next](https://github.com/vuejs/vue-router-next)
- [Vuex Next](https://github.com/vuejs/vuex)
- [vuex-module-decorators](https://github.com/championswimmer/vuex-module-decorators) - vuex modular
- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - Mock plugin base on vite
- [vue-i18n](https://github.com/intlify/vue-i18n-next) - Internationalization
- [lodash-es](https://github.com/lodash/lodash) - JavaScript utility library
- [axios](https://github.com/axios/axios) - Http data interaction
- [TypeScript](https://www.typescriptlang.org/)
### Suggested development environment
- `Git`: - Tool of version management
- `Visual Studio Code` - (VSCode): Latest version
- [VS Code Extensions](./.vscode/extensions.json)
- [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify)
- [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) - Tailwind css style association
- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) - Essential for vue development
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - Checking script code
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - Code formatting
- [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) - Css formatting
## Install
```bash
# 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
>>>>>>> 1fac4b4ba76d432b9a56e142a8d56571e825950f
yarn add zxcvbn
<<<<<<< HEAD
yarn add qrcode
=======
# 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
>>>>>>> 1fac4b4ba76d432b9a56e142a8d56571e825950f
yarn add vditor
<<<<<<< HEAD
yarn add xlsx
=======
1fac4b4ba76d432b9a56e142a8d56571e825950f
yarn serve
yarn build # build
yarn build:no-cache # build, cache will be removed before build
yarn report # Generate build package report preview
yarn lint:stylelint # css formatting
yarn lint:prettier # js/ts code formatting
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
<<<<<<< HEAD
-
feat
增加新功能fix
修复问题/BUGstyle
代码风格相关无影响运行结果的perf
优化/性能提升refactor
重构revert
撤销修改test
测试相关docs
文档/注释chore
依赖更新/脚手架配置修改等workflow
工作流改进ci
持续集成types
类型定义文件更改wip
开发中
本地开发推荐使用Chrome
浏览器,在火狐浏览器进行开发相对卡顿。
-
Refer to vue specifications (Angular)
feat
Add new featuresfix
Fix problem/BUGstyle
Code style related and doesn't affect the running resultperf
Optimization/performance improvementrefactor
Refactorrevert
Undo edittest
Test relateddocs
Documentation/noteschore
Dependent update/scaffolding configuration modification etcworkflow
Workflow improvementsci
Continuous integrationtypes
Update file of type definitionwip
Developing
- Fork code!
- Create your own branch:
git checkout -b feat/xxxx
- Submit your changes:
git commit -am 'feat(function): add xxxxx'
- Push your branch:
git push origin feat/xxxx
- submit
pull request
- 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
- Theme configuration
- Dark theme
- Build CDN
If you have more components/functions/suggestions/bugs/, welcome to submit pr or issue.
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
1fac4b4ba76d432b9a56e142a8d56571e825950f
![]() IE |
![]() Edge |
![]() Firefox |
![]() Chrome |
![]() Safari |
---|---|---|---|---|
not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
More browsers can view Can I Use Es Module
If these plugins are helpful to you, you can give a star