@lendi/generator-cra
v2.0.0
Published
Static app generator
Downloads
35
Maintainers
Readme
@lendi/generator-cra
A generator for static apps.
Installation
yarn global add yo @lendi/generator-cra@latest
You need to have
nodejs
andyarn
installed first.
Usage
🏃♀️ Run the generator:
yo @lendi/cra [directory]
If you would like the files to be created in a different directory to your current working directory then you can specify the directory as an argument.
💬 Answer the questions:
_-----_
| | ╭──────────────────────────╮
|--(o)--| │ Welcome to the CRA │
`---------´ │ generator! │
( _´U`_ ) ╰──────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
? Project name: (e.g. loans-dashboard) loans-dashboard
? Project description: (e.g. An app for the loans dashboard.) An app for the loans dashboard.
⏲ Wait for the files to be created and the dependencies to be installed.
🎉 DONE!