Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including generator-naujs with all npm packages installed. Try it out:

var generatorNaujs = require("generator-naujs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

generator-naujs v1.0.2

Nau Studio conventional Yeoman generator

generator-naujs

This is an opinionated Yeoman generator made exclusively for Nau Studio's projects scaffolding and kickstart purposes.

Đâ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.

Getting Started

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

To install generator-naujs from npm, run:

npm install -g generator-naujs

Finally, initiate the generator:

yo naujs

Sub-generators:

# generate gulpfile and install its dependencies
yo naujs:gulp

# add gulp iconfont task and install its dependencies
yo naujs:gulp-iconfont

# add dotfiles config for projects
yo 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.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

License

MIT. © 2017 Nâu Studio

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free