create-marwes
v0.1.0
Published
Vite-style starter for Marwes UI. Scaffolds a fresh React, Vue, or Svelte app with Marwes preinstalled, wired up, and ready to render.
Readme
Vite-style starter for Marwes UI. Scaffolds a fresh React, Vue, or Svelte app with Marwes preinstalled, wired up, and ready to render.
create-marwes
Create a new Marwes app in one command.
React • Vue • Svelte • TypeScript-first • Default Marwes CSS • Ready to run
marwes.io — official site, theme builder, and install guides GitHub • CLI package
Quick Start
Pick the package manager you already use — they all work:
pnpm create marwes@latest my-app --template react-ts
npm create marwes@latest my-app -- --template react-ts
yarn create marwes my-app --template react-ts
bun create marwes my-app --template react-tsSupported templates:
| Template | Framework |
| ------------ | --------- |
| react-ts | React 18+ (TypeScript) |
| vue-ts | Vue 3.4+ (TypeScript) |
| svelte-ts | Svelte 5 (TypeScript) |
What You Get
create-marwes delegates base app scaffolding to Vite, then runs the Marwes CLI init flow for the selected adapter. The result:
- A fresh Vite starter (
my-app/) with TypeScript, React/Vue/Svelte, and dev tooling wired up. - The matching Marwes adapter package installed (
@marwes-ui/react,@marwes-ui/vue, or@marwes-ui/svelte) with its peer dependencies. - Your app root wrapped in
MarwesProvider, so default Marwes styling is active on first render. - No extra CSS setup — the adapter loads the preset stylesheet automatically.
Next Steps
After scaffold:
cd my-app
pnpm install # if you passed --no-install
pnpm devStart building with Marwes components. See the adapter README on npm (@marwes-ui/react, @marwes-ui/vue, or @marwes-ui/svelte) for the full component list and theming guide.
For the theme builder, brand-token customization, and full setup guides, visit marwes.io.
Options
| Flag | Purpose |
| ----------------- | ------- |
| --template | One of react-ts, vue-ts, svelte-ts (required). |
| --pm | Force a package manager: pnpm, npm, yarn, or bun. |
| --no-install | Skip dependency install after scaffolding. |
| --dry-run | Print planned actions without writing to disk. |
Existing App?
Already have a Vite app? Use the Marwes CLI directly instead:
pnpm dlx @marwes-ui/cli init --adapter reactSee @marwes-ui/cli for the full command reference.
