create-fluid-site
Start a Fluid site in a new folder, then put it live with fluid deploy.
npm create @fluid-app/fluid-site my-thing # Vite + React (or: npx @fluid-app/create-fluid-site)
npm create @fluid-app/fluid-site launch-page -- --template html # plain HTML, no build
cd my-thing
fluid login # once
fluid deploy # builds, publishes and prints the address
create-fluid-site is fluid sites init for someone who has not installed
the Fluid CLI yet. It needs no login: the site is created by the first
fluid deploy.
Starters
--template | What you get |
|---|---|
vite-react (default) | The public member-site-template: Vite, React, config/meta.json, config/access.json |
html | index.html, style.css and config/meta.json |
company-pulse | A one-company health page (status, GMV, items to act on) with fake sample.json data and one loadData() seam in app.js for live data; no build |
astro | Coming soon. Start one with npm create astro@latest; fluid deploy builds and publishes an Astro project as it is |
The folder must be new or empty (a .git folder is fine). The Vite + React
starter is downloaded from codeload.github.com only, at most 5 MiB, and
unpacked as plain files and folders: an archive with a link, an absolute path
or a .. path is refused whole and nothing is left behind.