This example shows a very basic version of a Destack project with Next.js.
- There's one page,
pages/index.js, that shows the visual editor (in development) and the compiled version (in production). - All the magic is done in,
pages/api/builder/handle.js, that has to be setup once and handles templates saving and loading.
Deploy the example using Vercel or preview in Gitpod:
Clone this repository:
git clone https://github.com/liveduo/destack-starterInstall dependencies:
npm iRun the project in development:
npm run devDeploy it to the cloud with Vercel (Documentation).
Export the project to static HTML with:
npm run exportThis will export index.html to the out directory.

