Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 935 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 935 Bytes

WeiShour Logo

描述

Weinoter-Frontend 唯守笔记前端。

安装

$ npm install

运行

# 开始
$ npm run start

# 观察
$ npm run watch

构建

$ npm run build

创建组件

$ ng g component xxx --skip-tests=true

window删除node_modules

rimraf node_modules

内置插件

部署

# 压缩镜像
$ docker-slim build --include-path /usr/share/nginx/ --target weishour/weinoter-frontend --tag weishour/weinoter-frontend.slim:v1

$ docker-compose up -d