What do you do when you want to create a frontend with Volto for Plone 5.2 that is really only for anonymous users? So the editors login on a different domain, which may either be the standard Plone UI, or standard Volto.
Would you use
create-volto-app for this and somehow strip out all kinds of stuff?
Or would you use
create-react-app to start from scratch, and maybe explicitly take over some components from Volto?
If it's really an only anonymous website, probably also Gatsby (with plone plugins) could be a good idea
Maybe @sneridagh or @pnicolli can give further info.
Hi, there's a lot of efforts trying to lead to a more modular build theme/CMSUI with code splitting in place. This is the PR: https://github.com/plone/volto/pull/967
@pnicolli also started to experiment with this: https://github.com/plone/volto/pull/970
So a lot of room to improve in that matter. However, the SSR part makes bearable the fact that the bundle is not optimized yet. We haven't found yet any issues with it, and the perceived performance is good.
I would try Volto even if the use case that you are exposing is not yet optimized. Also using Gatsby would be a good fit, specially if having a deferred build is not an issue, or give a try to the new source plugin for Plone that improves the build-deployment time.
We have a first version of a volto theme using bootstrap for public views and pastanaga for the cms views here:
It's really just a bunch of configurations at this time (notice especially
razzle.config.js) and the import of our base scss styles inside