Quick Start
Jumpstart your project with Mantis.
Last updated
Jumpstart your project with Mantis.
Last updated
Navigate to your root folder (i.e. mantis-material-react)
Install Packages by npm or yarn as per your preferences. Here we are using yarn
package manager.
If you are using npm, please use npm i
After package installation, you can start your app by using yarn start
command
For nextJS use yarn dev
command
This will start your local server at http://localhost:3000
Also, your terminal shows the following.
This might be too early to deploy but it is always good to know how to deploy.
To build your app in production use yarn build
command
This project uses Yarn (via Corepack) for dependency management. The required Yarn version is specified in the package.json
file, and Corepack ensures the correct version is used automatically. There's no need to install Yarn globally.
If Corepack is not available:
Corepack is included with Node.js versions 16.10+ by default. If it's not installed or enabled:
Ensure you’re using Node.js 16.10 or higher.
Enable Corepack by running : corepack enable
If Corepack is unavailable, update Node.js to a supported version.
After Corepack is enabled, simply run yarn
commands, and the correct version will be handled for you automatically. For more information about Yarn and Corepack, refer documentation:
An issue in the next JS production build
Cause:
Solution: Install the missing software from here:
You’ll need to have Node v12.x.x or later on your local development machine (but it’s not required on the server). You can use (macOS/Linux) or to easily switch Node versions between different projects.