From 9bc43e2efc10376d9dc19be22d4fe17795263121 Mon Sep 17 00:00:00 2001 From: lin-xin <2981207131@qq.com> Date: Sun, 27 Jun 2021 14:48:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8D=87=E7=BA=A7vite2=E5=92=8C=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=BC=8Fapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- README.md | 10 +- babel.config.js | 5 - public/index.html => index.html | 1 + package-lock.json | 700 ++++++++++++++++++++++++++++++++ package.json | 83 ++-- src/components/Header.vue | 68 ++-- src/components/Sidebar.vue | 232 +++++------ src/components/Tags.vue | 127 +++--- src/plugins/element.js | 12 - src/router/index.js | 68 ++-- src/store/index.js | 2 +- src/views/403.vue | 98 ++--- src/views/404.vue | 98 ++--- src/views/About.vue | 5 - src/views/BaseCharts.vue | 179 ++++---- src/views/BaseForm.vue | 203 +++++---- src/views/BaseTable.vue | 201 ++++----- src/views/Dashboard.vue | 237 ++++++----- src/views/Editor.vue | 58 +++ src/views/Home.vue | 27 +- src/views/Icon.vue | 287 +++++++------ src/views/Login.vue | 77 ++-- src/views/Tabs.vue | 112 ++--- src/views/Upload.vue | 119 ++---- src/views/User.vue | 192 +++++++++ vite.config.js | 9 + 27 files changed, 2029 insertions(+), 1183 deletions(-) delete mode 100644 babel.config.js rename public/index.html => index.html (90%) create mode 100644 package-lock.json delete mode 100644 src/views/About.vue create mode 100644 src/views/Editor.vue create mode 100644 src/views/User.vue create mode 100644 vite.config.js diff --git a/LICENSE b/LICENSE index 1ef7d3e..5120b59 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-2019 vue-manage-system +Copyright (c) 2016-2021 vue-manage-system Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 759fda2..c95f997 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ > Vue2 版本请看 [tag-V4.2.0](https://github.com/lin-xin/vue-manage-system/tree/V4.2.0) -> React + Ant Design 的版本正在开发中,仓库地址:[react-manage-system](https://github.com/lin-xin/react-manage-system) - [English document](https://github.com/lin-xin/manage-system/blob/master/README_EN.md) ## 项目截图 @@ -53,16 +51,12 @@ - [x] Tab 选项卡 - [x] 表单 - [x] 图表 :bar_chart: -- [ ] 富文本编辑器 -- [ ] markdown 编辑器 +- [x] 富文本编辑器 - [x] 图片拖拽/裁剪上传 -- [ ] 支持切换主题色 :sparkles: -- [ ] 列表拖拽排序 - [x] 权限测试 - [x] 404 / 403 - [x] 三级菜单 - [x] 自定义图标 -- [ ] 可拖拽弹窗 - [x] 国际化 ## 安装步骤 @@ -73,7 +67,7 @@ cd vue-manage-system // 进入模板目录 npm install // 安装项目依赖,等待安装完成之后,安装失败可用 cnpm 或 yarn // 开启服务器,浏览器访问 http://localhost:8080 -npm run serve +npm run dev // 执行构建命令,生成的dist文件夹放在服务器下即可访问 npm run build diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index e955840..0000000 --- a/babel.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - presets: [ - '@vue/cli-plugin-babel/preset' - ] -} diff --git a/public/index.html b/index.html similarity index 90% rename from public/index.html rename to index.html index d3e8f42..1f032ca 100644 --- a/public/index.html +++ b/index.html @@ -15,6 +15,7 @@ Please enable it to continue.
+