Skip to content
/ destack-starter Public template

Starter template for Destack - the visual page builder for Next.js.

Notifications You must be signed in to change notification settings

LiveDuo/destack-starter

Repository files navigation

Destack Starter

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 your own

Deploy the example using Vercel or preview in Gitpod:

   

How to

Development

Clone this repository:

git clone https://github.com/liveduo/destack-starter

Install dependencies:

npm i

Run in development:

npm run dev

Production

Build for production:

npm run build

Run in production:

npm start

Deploy it to the cloud with Vercel (Documentation).