Socket
Socket
Sign inDemoInstall

create-ng-cli

Package Overview
Dependencies
201
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-ng-cli

create a umi project


Version published
Maintainers
1
Created

Readme

Source

ng-cli

介绍

基于umi的脚手架工具,自动集成dva、生成页面、路由、组件等

安装教程
  1. tyarn create ng-cli init
  2. 或者 npm install -g create-ng-cli && ng-cli init
使用说明
  1. ng-cli g p page1 --dva [namespace] 生成路由+页面(--dva 表示需要集成dva)
  2. ng-cli g c component1 --dva [namespace] 生成组件(--dva 表示需要集成dva)
  3. ng-cli build 发布当前项目(去除layout)
  4. ng-cli start 启动开发环境
  5. ng-cli proxy 启动代理

Keywords

FAQs

Last updated on 24 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc