@eeacms/volto-widget-theme-picker

中文文档
3.0.1发布于 2026/04/09MITCommonJS零依赖近 30 天下载 7886

@eeacms/volto-widget-theme-picker: Volto add-on

原始使用文档
文档目录8 节
  1. Features
  2. Getting started
  3. Try volto-widget-theme-picker with Docker
  4. Add volto-widget-theme-picker to your Volto project
  5. Release
  6. How to contribute
  7. Copyright and license
  8. Funding

volto-widget-theme-picker

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto add-on

Features

Widget Theme Picker

Getting started

Try volto-widget-theme-picker with Docker

  git clone https://github.com/eea/volto-widget-theme-picker.git
  cd volto-widget-theme-picker
  make
  make start

Go to http://localhost:3000

make start now defaults to Volto 18. To run the same setup against Volto 17, use:

  VOLTO_VERSION=17 make
  VOLTO_VERSION=17 make start

Add volto-widget-theme-picker to your Volto project

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
    
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "dependencies": {
        "@eeacms/volto-widget-theme-picker": "*"
    }
    

and volto.config.js:

const addons = ['@eeacms/volto-widget-theme-picker'];
  • If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:

    uvx cookieplone project
    cd project-title
    
  1. Install or update dependencies, then start the project:

    make install
    

    For a Cookieplone project, start the backend and frontend in separate terminals:

    make backend-start
    make frontend-start
    

    For a legacy Volto 17 project, install the package with yarn and restart the frontend as usual.

  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

版本与发布记录

@eeacms/volto-widget-theme-picker 共发布 12 个版本,首次发布于 2023/01/31;过去 12 个月发布了 2 个版本。

版本发布日期距今
3.0.1latest2026/04/097 个月前
3.0.02026/03/267 个月前
2.0.02024/04/232 年前
1.1.52023/10/243 年前
1.1.42023/09/293 年前
1.1.32023/08/303 年前

关于 @eeacms/volto-widget-theme-picker 的常见问题

@eeacms/volto-widget-theme-picker 是什么?

@eeacms/volto-widget-theme-picker: Volto add-on

如何安装 @eeacms/volto-widget-theme-picker?

在项目目录运行 npm install @eeacms/volto-widget-theme-picker,或使用 pnpm add / yarn add / bun add。

@eeacms/volto-widget-theme-picker 支持 TypeScript 吗?

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

@eeacms/volto-widget-theme-picker 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@eeacms/volto-widget-theme-picker 可以商用吗?

@eeacms/volto-widget-theme-picker 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@eeacms/volto-widget-theme-picker 的下载量有多少?

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

@eeacms/volto-widget-theme-picker 还在维护吗?

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