Dawn 学习笔记

前端之家收集整理的这篇文章主要介绍了Dawn 学习笔记前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

_ _ _ _ . __.
| / / / / | | |
| .--. | / ^ / / / | | |
| | | | / /_ / | . ` |
| '--' | / _ / / | | |
|_______/ /__/ __ __/ __/ |__| __|

Usage: dn [options] [args]

Commands:
i,init Initialize a dawn project
a,add Adding project resources
d,dev Start dev server and build in real-time
t,test Perform static code checking and testing
b,build Build current project
p,publish Publish current project to target environment
r,run Run a command
u,update Update remote configs and dependent modules
c,config Configure the preferences

 template       Display template list
 middleware     Display middleware list

Options:
-t,--template Specify the template name for the init command
-e,--env Specify environment variables for all commands
-v,--version Display the current version of CLI
-h,--help Display cli help information

Examples:

# Create a project
mkdir demo && cd demo
dn init

# Build a project
dn build

原文链接:https://www.f2er.com/note/411488.html

猜你在找的程序笔记相关文章