Hey there,
I did the following:
-
Create new Remix project
- Pushed to github (orionkoch/tom-test)
-
Create new plasmic project
- Published it to the repo with codegen
-
Added Homepage component to the app/routes/index.tsx.
import Homepage from '../../components/Homepage';
export default function Index() {
return <Homepage />;
}
- Wrapped all the component code in /app/route.tsx with PlasmicRootProvider
export default function App() {
return (
<PlasmicRootProvider>
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<Meta />
<Links />
</head>
<body>
<Outlet />
<ScrollRestoration />
<Scripts />
{process.env.NODE_ENV === 'development' && <LiveReload />}
</body>
</html>
</PlasmicRootProvider>
);
}
This works but no CSS is rendered.
Any thoughts here? Thanks.