Getting Started


Quick start

This project comes in two versions: one using Vite and another using Next.js, giving you flexibility depending on your preferred development setup. Before using Mira, make sure Node.js is installed. You can find the required Node.js version in the .nvmrc file located in the project root.
Once Node.js is installed, run npm install to install the rest of Mira's dependencies. All dependencies will be downloaded to the node_modules directory.
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, run the following command.
npm run dev

Build tools

Start a local webserver at http://localhost:3000 and detect file changes:
npm run dev
Compile, optimize, minify and uglify all source files to build/:
npm run build

Contents

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/
  ├── .env
  ├── .eslintrc
  ├── .gitignore
  ├── .prettierrc
  ├── next.config.js
  ├── package.json
  ├── package-lock.json
  ├── README.md
  ├── index.html
  ├── public/
  │   ├── favicon.ico
  │   └── manifest.json
  └── src/
      ├── app/
      ├── components/
      ├── contexts/
      ├── hooks/
      ├── layouts/
      ├── mocks/
      ├── redux/
      ├── theme/
      ├── utils/
      ├── vendor/
      ├── config.ts
      ├── constants.ts
      └── i18n.ts