itiden / statamic-backup

https://itiden.github.io/statamic-backup/
MIT License
4 stars 0 forks source link

Change project structure #43

Closed NeoIsRecursive closed 1 month ago

NeoIsRecursive commented 1 month ago

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