Hi All,
Can we use Plasmic with app directory?
Hi All,
Can we use Plasmic with app directory?
Hey @aihe_team,
Yes, you can use Plasmic with app directory. You can read more in the docs here, by selecting the app dir tab: Get started with Next.js | Learn Plasmic
We are currently working on more improvements for it, though, as the current state is still limited.
I am very grateful @icaro_guerra!
In what ways is it limited? I will check the documentation after this.
The limitations are mainly related to data queries. While in pages directory, we use the extractPlasmicQueryData
function to do all the queries server side, the app directory does not support it. So all of the queries (from integrations and components) will be done client side.