Building and development
nodejs and npm are required for this build.
Clone and enter the reposity
git clone https://github.com/menix-os/websitecd websiteNext, install depencies
npm installProduction bundle
Section titled “Production bundle”npm run buildThe files will be placed in the dist directory. These files can be served by a static file server.
Dev server
Section titled “Dev server”npm run devRuns on http://localhost:4321 by default
Available commands
Section titled “Available commands”| Command | Action |
|---|---|
npm install | Installs dependencies |
npm run dev | Starts local dev server at localhost:4321 |
npm run build | Build production site to ./dist/ |
npm run preview | Preview build locally, before deploying |
npm run format | Formats all files |
npm run format:check | Checks if all files are formatted |