1 Star 7 Fork 4

lqs/admin-vue3-micro-qiankun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

admin-vue3-micro-qiankun

admin-vue3-micro-qiankun是一个微前端后台解决方案,它基于 Qiankun.js 结合 admin-element-vueadmin-antd-vue实现。

Demo

main-demo
main-antd-demo
Home

使用文档

后台前端解决方案列表

前台前端SSR解决方案列表

功能

- 登录 / 注销 / 注册

- 权限验证
  - 页面权限
  - 按钮操作
  - 权限配置

- 全局功能
  - 国际化多语言
  - 黑白主题
  - 动态侧边栏(支持多级路由嵌套)
  - 动态面包屑(支持自定义配置)
  - tabNav
  - Svg Sprite 图标
  - Mock 数据
  - 权限验证

- 综合实例
  - 引导页
  - main主框架(基于admin-element-vue调整)
  - main-antd主框架(基于admin-antd-vue调整)
  - System子项目(基于admin-element-vue调整)
  - Article子项目(基于admin-element-vue调整)
  - Links子项目 (基于admin-antd-vue调整)

项目设置

一、Install dependencies,

$ pnpm install

请使用 pnpm , pnpm的安装与使用

二、Compiles and hot-reloads for development

$ pnpm run serve

# or

$ pnpm run serve:main
$ pnpm run serve:article

三、构建与发布

1、构建:

pnpm run build

2、上传到服务器,以nginx配置为例:

# env文件中 MICRO_PUBLIC_PATH=/ 时:
server {
  listen       8080;
  server_name  localhost;

  location / {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /index.html;
  }

  location /child/system {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /child/system/index.html;
  }
  # article 和 links 等其他子模块的history 配置同上
}
# env文件中 MICRO_PUBLIC_PATH=/admin/ 时:
server {
  listen       8080;
  server_name  localhost;

  location /admin/ {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /admin/index.html;
  }

  location /admin/child/system {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /admin/child/system/index.html;
  }

  # article 和 links 等其他子模块的history 配置同上 如下:

  location /admin/child/article {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /admin/child/article/index.html;
  }

  location /admin/child/links {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /admin/child/links/index.html;
  }



}
# env文件中 MICRO_PUBLIC_PATH=/xxxxxx/ 时:
server {
  listen       8080;
  server_name  localhost;

  location /xxxxxx/ {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /xxxxxx/index.html;
  }

  location /xxxxxx/child/system {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /xxxxxx/child/system/index.html;
  }

  # article 和 links 等其他子模块的history 配置同上 如下:

  location /xxxxxx/child/article {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /xxxxxx/child/article/index.html;
  }

  location /xxxxxx/child/links {
    # root   html;
    # index  index.html index.htm;
    try_files $uri $uri/ /xxxxxx/child/links/index.html;
  }



}

运行环境建议

  • Nodejs 14
  • pnpm 6

捐赠

如果你觉得这个项目帮助到了你,请帮助点击 Star,你也可以请作者喝咖啡表示鼓励.

ALIPAY WECHAT
Alipay Wechat
MIT License Copyright (c) 2022 LiQingSong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Micro front-end Admin based on Qiankun, vue3.x, admin-element-vue, admin-antd-vue project architecture 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lqsong/admin-vue3-micro-qiankun.git
git@gitee.com:lqsong/admin-vue3-micro-qiankun.git
lqsong
admin-vue3-micro-qiankun
admin-vue3-micro-qiankun
main

搜索帮助

Cb406eda 1850385 E526c682 1850385