DEMOSPLAN URI (英语)
Vue 组件, Vue 指令, Design Token 和 Scss 文件用于构建用于演示Plan的接口.
发展
使用本地 Docker 容器进行开发
要有一个连贯的环境来构建Demosplan-ui,就存在多克配置.
# When running it for the first time, build the container
docker compose build
# Start the container in detached mode
docker compose up -d
# Shell into the container
docker compose exec demosplan-ui bash
# Stop container
docker compose down
开始故事集
故事书用于开发和记录UI组件. 要启动故事书服务器,
在 Docker 容器中打开一个外壳(见"Using the local Docker Control")并运行以下命令:
# Install dependencies (if not already installed)
yarn install
# Start Storybook development server
yarn sb
故事书默认只收听回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回回.
yarn sb 因此,集装箱在集装箱内运行时与集装箱自己的地址相接。 URL取决于其运行地点:
主机:http://localhost:3:00
(原始内容存档于2017-07-21). demosplan-ui 容器: http://localhost:6006
示范计划核心容器:http://172.22.255.2:30
关于 @demos-europe/demosplan-ui 的常见问题@demos-europe/demosplan-ui 是什么? Vue 组件, Vue 指令, Design Token 和 Scss 文件用于构建用于演示Plan的接口.
如何安装 @demos-europe/demosplan-ui? 在项目目录运行 npm install @demos-europe/demosplan-ui,或使用 pnpm add / yarn add / bun add。
@demos-europe/demosplan-ui 支持 TypeScript 吗? 该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/demos-europe__demosplan-ui 是否存在。
@demos-europe/demosplan-ui 支持 ESM 还是 CommonJS? 同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。
@demos-europe/demosplan-ui 需要什么版本的 Node.js? package.json 的 engines 字段要求 Node.js >= 24.22.1。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。
@demos-europe/demosplan-ui 可以商用吗? @demos-europe/demosplan-ui 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。
@demos-europe/demosplan-ui 的下载量有多少? 根据 npm 官方下载统计,@demos-europe/demosplan-ui 在 2026/10/12 – 2026/11/10 这 30 天内被下载 4,819 次,日均约 161 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。
@demos-europe/demosplan-ui 还在维护吗? 最新版本 0.39.0 发布于 2026/11/05(6 天前);至今共发布 171 个版本,其中过去 12 个月发布了 46 个;首次发布于 2022/11/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。