You have to install, import content and start Sanity Studio.
First, you need provide API keys to connect with empty Uniform App project and your Sanity studio. Copy .env.example
into .env
and fill all the keys.
npm install
to install all dependencies.npm run generate:slug-page
to create slug page. Depending on the value of this environment variable, either SSG or SSR mode will be enabled (Uniform supports both):# Server Side Render or Static Site Generation mode? NEXT_USE_SSR=0
npm run dev
to start a local dev server.npm run build && npm run start
to start a production server.