Skip to content

Files

Latest commit

 

History

History
42 lines (25 loc) · 2.27 KB

README.md

File metadata and controls

42 lines (25 loc) · 2.27 KB

This is a Plasmic app template which includes the SSR split content support using middleware. Read more about split content in our docs.

Deploy with Vercel

Demo

Getting Started

This repo is pre-configured to use the projectId and token from the project listed in the demo section. In order to get started you'd need to:

  1. Press the Deploy with Vercel button to host your app on Vercel and create your repo. Get the public link of your deployment.

  2. Choose an existing Plasmic project, or create a new one.

  3. Add your PLASMIC_PROJECT_ID and PLASMIC_TOKEN to the plasmic-init.ts file. To find project’s ID and public API token open the project in Plasmic Studio.

  1. Follow this guide to connect the app host in Plasmic studio to the host link from step 1

  2. (Optional) Configure webhooks to re-build Vercel every time you publish from Plasmic. Follow this guide to get webhook URL on Vercel, and then add the URL in the Plasmic studio in Publish -> Webhooks.

You can start editing your project in Plasmic Studio. The page auto-updates as you edit the project.

For local development just run npm install to install the dependencies once, and then launch npm run dev if you want to start your server locally.

Learn More

With Plasmic, you can enable non-developers on your team to publish pages and content into your website or app.

To learn more about Plasmic, take a look at the following resources:

You can check out the Plasmic GitHub repository - your feedback and contributions are welcome!