It is quite annoying how statamic requires the end-of-life vue2 and how it clashes with vitepress...
This PR moves some stuff around so we have a "client" workspace for building the "backup frontend" and a "docs" workspace that handles the docs. This is handled using npm's built in workspace feature.
npm run dev # run vite dev server for client files
npm run build # run vite build for client files
npm run docs:dev # run dev server for docs
npm run docs:build # build docs site
npm run docs:preview # preview built docs site
It is quite annoying how statamic requires the end-of-life vue2 and how it clashes with vitepress...
This PR moves some stuff around so we have a "client" workspace for building the "backup frontend" and a "docs" workspace that handles the docs. This is handled using npm's built in workspace feature.