This starter contains the essentials with pre-enabled Uniform capabilities. It has a single page type and a single component (Hero). It is enabled for visual experience management, personalization and A/B testing.
Recommended as a good starting point for green field projects or learning.
npm install
npm run dev
and open http://localhost:3000
- Setup your own project ID and API key values in
.env
with the API key that has Developer role. npm run uniform:push
to push content.npm run dev
and open localhost:3000
Both SSR (default) and SSG are supported, see /pages/[[...slug]].tsx.ssg
and /pages/[[...slug]].tsx.ssr
and enable the right mode for your use case.
See the steps in middleware.ts.disabled
on how to activate the mode.