# vue3-composition-admin **Repository Path**: anydev/vue3-composition-admin ## Basic Information - **Project Name**: vue3-composition-admin - **Description**: 🎉 基于vue3 的管理端模板(Vue3 TS Vuex4 element-plus vue-i18n-next composition-api) vue3-admin vue3-ts-admin - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: feature/build-optimize - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-11-13 - **Last Updated**: 2024-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

logo

vue element-plus vuex vue-i18n-next npm gitter

> vue3-composition-admin 是一个管理端模板解决方案,它是基于vue3,ts和element-plus,项目都是以composition api风格编写。 ## 简介 项目的基础版本出自于源于花裤衩大佬的 vue-element-admin。 版本: vue2+js版本:[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) vue2+ts版本:[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) vue3 发布之后,性能增强,速度vue2的倍数,打包体积都在减小(treeshaking),composition api 增加了项目可读性。 项目目的: - 保持技术的先进性,跟上技术发展 - 作为公司定制组件的代码demo集合 - 解决方案集合 - 统一技术标准 在线demo演示地址:https://admin-tmpl.rencaiyoujia.com/ ## HighLight 项目均已最新技术实现,Vue3配套升级全家桶和涉及的插件组件等 项目采用技术: - vue3 + composition api - typescript3.9 - sass (dart sass) - [echats5](https://github.com/apache/echarts) vue next 系列: - [element-plus](https://github.com/element-plus/element-plus) - [vue-router-next](https://github.com/vuejs/vue-router-next) - [vuex-4.0](https://github.com/vuejs/vuex) - [vue-vue-i18n-next](https://github.com/panter/vue-i18next) ## Document - [文档地址](https://rcyj-fed.github.io/vue3-composition-admin-docs/) - [文档项目git地址](https://github.com/rcyj-FED/vue3-composition-admin-docs) ## Setup 项目主要是前端和mock server(node) ### Mock 后台模拟服务器和其他版本不同,采用koa2+Faker进行模拟。 - [Koa2](https://github.com/koajs/koa) - [Faker](https://github.com/Marak/faker.js) 启动mock server: ```shell "mock": "cd mock && ts-node-dev mock.ts" ``` mock 需要部署到服务器,单独项目地址:https://github.com/rcyj-FED/admin-tmpl-mock mock在线测试地址:https://admin-tmpl-mock.rencaiyoujia.com/ ### vue admin 多环境启动: ```shell "serve:dev": "cross-env NODE_ENV=development dotenv -e .env.dev.serve vue-cli-service serve", "build:dev": "cross-env NODE_ENV=production dotenv -e .env.dev.build vue-cli-service build", "serve:test": "cross-env NODE_ENV=development dotenv -e .env.test.serve vue-cli-service serve", "build:test": "cross-env NODE_ENV=production dotenv -e .env.test.build vue-cli-service build", "serve:prod": "cross-env NODE_ENV=development dotenv -e .env.prod.serve vue-cli-service serve", "build:prod": "cross-env NODE_ENV=production dotenv -e .env.prod.build vue-cli-service build", ``` 快捷启动(同时启动前后端): ```shell "start": "concurrently \"npm run mock\" \"npm run serve:dev\"", ``` ## Browsers support Modern browsers and Internet Explorer 10+. | [IE / Edge](https://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](https://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](https://godban.github.io/browsers-support-badges/)
Chrome | [Safari](https://godban.github.io/browsers-support-badges/)
Safari | | --------- | --------- | --------- | --------- | | IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions | ## License [MIT](https://github.com/rcyj-FED/vue3-composition-admin/blob/main/LICENSE) Copyright (c) 2021-present 人才有价