@fluid-app/create-fluid-site

中文文档
0.1.196发布于 2026/11/15ES Module近 30 天下载 3万

Start a Fluid site in a new folder: npm create @fluid-app/fluid-site my-thing, then fluid deploy

原始使用文档

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

--templateWhat you get
vite-react (default)The public member-site-template: Vite, React, config/meta.json, config/access.json
htmlindex.html, style.css and config/meta.json
company-pulseA 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
astroComing 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.

版本与发布记录

@fluid-app/create-fluid-site 共发布 198 个版本,首次发布于 2026/11/11;过去 12 个月发布了 198 个版本。

版本发布日期距今
0.1.196latest2026/11/15今天
0.1.1952026/11/15今天
0.1.1942026/11/15今天
0.1.1932026/11/15今天
0.1.1922026/11/15今天
0.1.1912026/11/15今天

关于 @fluid-app/create-fluid-site 的常见问题

@fluid-app/create-fluid-site 是什么?

Start a Fluid site in a new folder: npm create @fluid-app/fluid-site my-thing, then fluid deploy

如何安装 @fluid-app/create-fluid-site?

在项目目录运行 npm install @fluid-app/create-fluid-site,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 create-fluid-site,可以用 npx create-fluid-site 直接运行。

@fluid-app/create-fluid-site 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/fluid-app__create-fluid-site 是否存在。

@fluid-app/create-fluid-site 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@fluid-app/create-fluid-site 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@fluid-app/create-fluid-site 可以商用吗?

@fluid-app/create-fluid-site 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@fluid-app/create-fluid-site 的下载量有多少?

根据 npm 官方下载统计,@fluid-app/create-fluid-site 在 2026/10/15 – 2026/11/13 这 30 天内被下载 30,104 次,日均约 1,003 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@fluid-app/create-fluid-site 还在维护吗?

最新版本 0.1.196 发布于 2026/11/15(今天);至今共发布 198 个版本,其中过去 12 个月发布了 198 个;首次发布于 2026/11/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。