Skip to content

qiankun微服务架构, 主服务和子服务都是采用的vue3框架

Notifications You must be signed in to change notification settings

JamesLi6886/qiankun-template-vue3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

qiankun微服务架构模板-主应用采用vue3框架

可以兼容vue3和vue2以及没有采用umijs的reactjs项目

配置前端的npm仓库(非必须, 如果公司有自己的npm仓库的时候使用)

npm config set registry http://xxx.xxx.xx.xx:xxxx/repository/npm-group

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

如果需要添加公共的依赖可以参考一下命令

添加subtree (其中master为公共依赖仓库的分支名)

git subtree add --prefix=common http://xxx.xx.xx.xx:xxx/data-platform-frontend-dev/common.git master --squash

拉取最新的代码

git subtree pull --prefix=common http://xxx.xx.xx.xx:xxx/data-platform-frontend-dev/common.git master --squash

在子项目中推送到主项目中

git subtree push --prefix=common http://xxx.xx.xx.xx:xxx/data-platform-frontend-dev/common.git master

About

qiankun微服务架构, 主服务和子服务都是采用的vue3框架

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published