Try a demo prototype
To start exploring and experimenting straight away, you can run this example GOV.UK style prototype.
Make sure you have followed the setup instructions before you start.
Run the example protoype
In the command line, run the following command. Replace prototype-name with an example prototype name of your choice.
npx nowprototypeit create --variant @nowprototypeit/govuk-frontend-adaptor prototype-name
- When prompted, enter
yto continue. - Run
cd prototype-name(or the name you gave your protoype). - Run
npm run dev.
By default, the prototype opens at http://localhost:3000. The Prototype Manager opens at http://localhost:3000/manage-prototype.
Troubleshooting
- If
npm run devproduces a list of errors: Check that you have successfully runcd prototype-name(or the name you gave your prototype). Runpwdto see the directory your command line is currently in.