I’m playing with a very basic TanStack setup: one in-code CodeButton component, and PlasmicButton component made in Plasmic Studio.
In Plasmic Studio everything looks fine:
But in synced code the button styles don’t get loaded:
I can see in generated code that it creates PlasmicPlasmicButton.css, which gets used inside PlasmicPlasmicButton__HeadOptions, but PlasmicPlasmicButton__HeadOptions don’t seem to be called by anything else.
Note: this doesn’t happen with Next.js app – all styles get pulled correctly.
Also, there are some integration issues being logged:
A props object containing a "key" prop is being spread into JSX:
let props = {key: someKey, property: ..., content: ..., suppressHydrationWarning: ...};
<meta {...props} />
This happens here:
export const Route = createFileRoute("/")({
head: () => ({
meta: [...PlasmicHome__HeadOptions.meta],
links: [...PlasmicHome__HeadOptions.links]
}),
component: Home
});
And also this:
[tanstack-router] These exports from "/Users/iby/Development/Bitwild/Plasmic+Fresh/src/routes/index.tsx" will not be code-split and will increase your bundle size:
- Home
For the best optimization, these items should either have their export statements removed, or be imported from another location that is not a route file.
To work around this I need to edit generated code and do some hack around. But the issue with component styles seems pretty critical.
Project: Plasmic.
Let me know if I can help with any further details. Would be great to get TanStack working properly.

