Getting Started

Quick start

This is a Next.js project bootstrapped with create-next-app. You'll need to install Node.js (v16 or up) before using Dashboard.

Before proceeding, please ensure you have the following software installed on your computer.

  • Node
  • Yarn (optional but recommended)
  • Git command line tools

Useful links

Project Setup

In your root project folder, open your terminal and run the command below.

npm install

Now you're ready to modify the source files and generate new files. To automatically detect file changes and start a local webserver at http://localhost:3000 (opens in a new tab), run the following command.

npm run dev

Build tools

Start a local webserver at http://localhost:3000 (opens in a new tab) and detect file changes:

npm run dev

Compile, optimize, minify and uglify all source files to build/:

npm run build

File structure

Inside the zip-file you'll find the following directories and files. Both compiled and minified distrubution files, as well as the source files are included in the package.

theme/
  ├── .gitignore
  ├── package.json
  ├── package-lock.json
  ├── README.md
  ├── components/
  ├── layout/
  ├── mocks/
  ├── pages/
  ├── routes/
  ├── styles/
  ├── types/
  ├── utils/
  ├── public/
  │   ├── index.html
  │   └── manifest.json