copy Copy chevron-down
Quick Start Quick start your project using Mantis.
Navigate to your root folder (i.e. mantis-material-react)
Copy c:\>cd mantis-material-react Install Packages by npm or yarn as per your preferences. Here we are using yarn package manager.
Copy c:\mantis-material-react > yarn circle-exclamation
If you are using npm, please use npm i
After package installation, you can start your app by using yarn start command
Copy c:\mantis-material-react > yarn start For nextJS use yarn dev command
Copy c:\mantis-material-react > yarn dev This will start your local server at http://localhost:3000 Also, your terminal shows the following.
Copy Compiled successfully !
You can now view mantis - material - react in the browser .
Local : http : // localhost:3000
On Your Network : http : // 192.168.29.77:3000
Note that the development build is not optimized .
To create a production build , use yarn build . 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
Troubleshooting
An issue in the next JS production build
Cause: https://github.com/vercel/next.js/discussions/30468arrow-up-right
Solution: Install the missing software from here: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170arrow-up-right
Deploy for your live site
Change the base URL with your domain and build your application.
You can control this with the homepage field in your package.json
Last updated 6 months ago