This example shows a very basic version of a Destack project with React.js and CRA.
- There's one page,
App.js
, that shows the visual editor (in development) and the compiled version (in production). - All the magic is done with the
destack -d
anddestack -b
, 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-react-starter
Install dependencies:
npm i
Run in development:
npm run dev
Build for production:
npm run build
Run in production:
npm start
Deploy it to the cloud with Vercel (Documentation).