Run application
Normally you would build a Next.js app and deploy it to a CDN. During the development process it can be helpful to run the app locally.
Start web app
The Next.js app can run in developer mode. This provides you with a web server to run the app locally. It also support hot reloading, which enables you to make changes to the app and have those changes loaded automatically without you having to restart the application.
Open a CLI to the root of the web app.
Enter the following command:
cd my-uniform-app
npm run devAbout this command
This starts the Next.js application running on port 3000.
warning
If your Uniform npm packages are version 15.0.0 you will get the following error when you run this step:
Error: useUniformContext must be used within
a <UniformContext> providerYou can safely continue to the next section. This error will be resolved by activating Uniform Context.
View web app
Open your browser to http://localhost:3000 to see the application.
