next-boilerplate-cli

This is a CLI for the Next.js Boilerplate (https://github.com/vladimirvoth/next-boilerplate). With this CLI you can generate a new project and generate new pages automatically with a SCSS file and boilerplate for a test.

Usage no npm install needed!

<script type="module">
  import nextBoilerplateCli from 'https://cdn.skypack.dev/next-boilerplate-cli';
</script>

README

Next.js Boilerplate CLI

This is a CLI for the Next.js Boilerplate. With this CLI you can generate a new project and new pages automatically with a SCSS file and testing boilerplate. In case you don't know what Next.js is, it's a React framework that enables functionality such as server-side rendering and generating static websites. Learn more about Next.js.

screenshot

Installation

npm i -g next-boilerplate-cli

Next.js

Next.js is a React framework that enbales functionality such as server-side rendering and generating static websites. Learn more about Nex.js

Boilerplate features already included


TypeScript SASS Storybook Docker Cypress.io Jest
  • Typescript
  • SCSS/SAAS
  • Docker support
  • Testing: with Cypress for End-to-end tests and Integration test and / or the Jest Testing Framework
  • Storybook use Storybook for building UI components in isolation

A lot more integrations are coming soon. See Next.js Boilerplate.

CLI features

  • Create a new app
  • Create a new page with scss file and test

Future CLI features

  • Create a new form with different input fields
  • Bootstrap or Tailwind CSS integration
  • Firebase integration

Commands

Create a new project:

nb new

Generate a new page:

nb generate page 'pagename'