This starter uses Nuxt for the front end and Sanity to handle its content.
- Node.js (v16.12 or later)
- Sanity CLI (optional)
The following commands are meant to be run in both the /app
and /studio
folders.
npm install
to install dependenciesnpm create sanity@latest init --env
, this will:
- ask you to select or create a Sanity project and dataset
- output a
.env
file with appropriate variables - (or use
sanity init --env
if you have the CLI installed)
npm run dev
to start the development server
Your Nuxt app should now be running on http://localhost:3000/ and Studio on http://localhost:3333/.