Anyone have an example with Astro?

By any chance, does anyone have an example with Astro? I’m a more visual guy lol need to see code

Hi @resulting_crayfish,
Do you need an example for Astro React starter?

need example using astro builder and plasmic

I tried multiple ways to setup Plasmic with a basic starter of Astro project but Unfortunately, couldn’t able to do it successfully so far.
I’ve used Astro for the first time so figuring out a way to resolve the errors I got while integration.

I will leave an update for you if I get it done properly.

this is what I got so far

import { PLASMIC } from '../../plasmic-init';
import BaseLayout from "../layouts/Base.astro";

export const getStaticPaths = async () => {
  const pages = await PLASMIC.fetchPages();
   //return [{ params: { plasmicLoaderPage: "news" } }, { params: { plasmicLoaderPage: "about" } }];
  let pagesToRender = []
  pages.forEach((page) => {
    const path = page.path.split('/')[1]
    if(path !== "") {
          params: { 
            plasmicLoaderPage: path 
  return pagesToRender;

That generates the folders with the index.html

Screen Shot 2022-03-25 at 10.40.50 AM.png

now I need to render a plasmic page inside of BaseLayout

hello <--- plasmic page here

I got it! will do more testing