https://github.com/danielmlc/shoppingmall
a shopping Mall
https://github.com/danielmlc/shoppingmall
Last synced: about 2 months ago
JSON representation
a shopping Mall
- Host: GitHub
- URL: https://github.com/danielmlc/shoppingmall
- Owner: danielmlc
- Created: 2018-10-19T09:09:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T11:53:44.000Z (over 6 years ago)
- Last Synced: 2025-01-24T09:12:44.331Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.89 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ylwebapp
> ylsoft webapp
## 项目启动相关命令
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report
```## 文档发布相关命令
```bash
cnpm run docs:dev
# 文档本地运行
cnpm run docs:build
# 文档编译
```
## 文档发布git命令```
cd docs/.vuepress/distgit init
git add -A
git commit -m '20180725'
git branch gh-pages
git checkout gh-pages
# 切换分支
git remote add origin https://github.com/danielmlc/webApp.git
git push -u origin gh-pages
# 注意: 上传时遇到版本冲突时
git fetch origin gh-pages:temp
git merge temp
# 合并分支
git branch -d temp
# 删除本地分支
# 当然简洁的方式直接删除远程分支
git branch -r
git branch -r -d origin/gh-pages
git push origin :gh-pages
git push -u origin gh-pages
```
## 一键部署
cd docs/.vuepress/dist
git init
git add -A
git commit -m '文档更新'
git branch gh-pages
git checkout gh-pages
git remote add origin https://github.com/danielmlc/webApp.git
git branch -r -d origin/gh-pages
git push origin :gh-pages
git push -u origin gh-pagesFor a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
# shoppingMall