@mionjs/create-starter-vue
v0.2.0
Published
Starter template for building full-stack apps with mion + Vue 3 (SPA). Run `npm create @mionjs/starter-vue <project-name>` to scaffold.
Maintainers
Readme
Vue 3 + mion Starter
A full-stack starter that pairs a Vue 3 SPA with a mion API. The same api/ package builds for Node, Bun, Vercel, and Cloudflare Workers.
Setup
npm installDevelopment
Runs the Vue dev server with the mion API mounted as Vite middleware:
npm run devOpen http://localhost:5173.
Build
npm run build # builds both the SPA and the API
npm run build:app # SPA only
npm run build:api # API onlyPreview
npm run previewTest
npm run test:unit # vitest
npm run test:e2e # playwrightProject layout
app/— Vue 3 SPA (router, pages, mion client)api/— mion API (routes, models, repositories, platform entries)deploy/— Cloudflare Workers configfunctions/— Cloudflare Pages Functions wrapper
