5 Star 0 Fork 0

Warlock / QMYG_VUE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

项目说明

本地环境安装

# 安装 NodeJS NPM
$ sudo apt-get install node npm -g

# 更新 NodeJS (Linux, OSX)
$ npm install -g n
$ n 6.2.2

# 更新 NPM
$ npm install -g npm

# 更新 NodeJS 6.2.2 或以上稳定版本
$ npm install -g n nrm
$ n use stable

# 使用淘宝源 或 cnpm 源
$ nrm use taobao
$ 或
$ npm install -g cnpm --registry=https://registry.npm.taobao.org

# (npm、cnpm)安装 node_modules
$ cd /path/to/project
$ npm install 或 cnpm install

# yarn 方式安装node_modules
$ 1、npm install yarn -g 或者 cnpm install yarn -g
$ 2、yarn

# yarn安装依赖包
$ yarn add xxx --dev

$  设置从缓存安装 yarn config set yarn-offline-mirror ./npm-packages-offline-cache

Nginx 配置文件导入

# 生成 nginx 配置文件
$ ./bin/nginx
# 或者
$ npm run nginx

# 导入配置文件
$ echo "include /path/to/project/vhosts/nginx.conf;" >> /path/to/nginx/nginx.conf

# 重启nginx
# Linux
$ sudo service nginx restart
# OSX
$ sudo brew services restart nginx
# windos
$ nginx -s reload

代码编译与发布

# 开发环境编译
$ npm start

# 发布代码
$ npm run build

空文件

简介

暂无描述 展开 收起
HTML
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
HTML
1
https://gitee.com/side9527/qmyg_vue.git
git@gitee.com:side9527/qmyg_vue.git
side9527
qmyg_vue
QMYG_VUE
master

搜索帮助