Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.01 KB

File metadata and controls

35 lines (21 loc) · 1.01 KB

Getting Started

First, install dependencies:

npm install

Then, initialise the sourceflow SDK:

npx sourceflow init https://<customer>.sites.sourceflow.co.uk/_sf/api/v1/cms.json

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!