/nextjs-custom-setup

Every time you want to start a project, you have to deal with configurations such as folder structure, eslint, prettier and tsconfig and so on... this repo will help you!

Primary LanguageTypeScript

ARMANI WEB APP

Requirements

Installation

To get the project up and running, and view components in the browser, complete the following steps:

  1. Download and install Node: https://nodejs.org/
  2. Clone this repo: git clone (SSH) or git clone (HTTPS)
  3. Install project dependancies: yarn install
  4. Start the development environment: yarn run dev
  5. Open your browser and visit http://localhost:3000

Development

When developing components, you may want assets automatically compiled and the browser to refresh automatically. To do this, run the following task:

  • yarn run dev

Storybook Development

  • yarn run storybook

Creating a static build

To create a static instance of this project, run the following task:

  • yarn run build

Creating a storybook static build

To create a storybook static instance of this project, run the following task:

  • yarn run build-storybook