Đây là một bộ khởi tạo Yeoman được viết riêng cho Nâu Studio với mục đích khởi tạo nhanh các dự án theo quy trình của Nâu.
What is Yeoman?
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
npm install -g yo
NauJS Generator Usage
generator-naujs from npm, run:
npm install -g generator-naujs
Finally, initiate the generator:
# generate gulpfile and install its dependenciesyo naujs:gulp# add gulp iconfont task and install its dependenciesyo naujs:gulp-iconfont# add dotfiles config for projectsyo naujs:dotfiles
Getting To Know Yeoman
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
MIT. © 2017 Nâu Studio