@lendi/generator-nextjs
A generator for static sites.
Installation
yarn global add yo @lendi/generator-nextjs@latest
You need to have nodejs
and yarn
installed first.
Usage
🏃♀️ Run the generator:
yo @lendi/nextjs [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 nextjs │
`---------´ │ generator! │
( _´U`_ ) ╰──────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
? Project name: (e.g. loans-blog) loans-blog
? Project description: (e.g. A website for the loans blog.) A website for the loans blog.
⏲ Wait for the files to be created and the dependencies to be installed.
🎉 DONE!