项目作者: eea

项目描述 :
A volto block of blocks
高级语言: JavaScript
项目地址: git://github.com/eea/volto-group-block.git
创建时间: 2020-09-22T10:52:56Z
项目社区:https://github.com/eea/volto-group-block

开源协议:MIT License

下载


volto-group-block

Releases

Pipeline
Lines of Code
Coverage
Bugs
Duplicated Lines (%)

Pipeline
Lines of Code
Coverage
Bugs
Duplicated Lines (%)

Volto add-on to group blocks in sections and filter available blocks per content-type per section

Features

Group blocks and restrict available blocks

Getting started

Try volto-group-block with Docker

  1. git clone https://github.com/eea/volto-group-block.gits
  2. cd volto-group-block
  3. make
  4. make start

Go to http://localhost:3000

Add volto-group-block to your Volto project

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

    1. docker compose up backend
  2. Start Volto frontend

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

    1. "addons": [
    2. "@eeacms/volto-group-block"
    3. ],
    4. "dependencies": {
    5. "@eeacms/volto-group-block": "*"
    6. }
  • If not, create one:

    1. npm install -g yo @plone/generator-volto
    2. yo @plone/volto my-volto-project --canary --addon @eeacms/volto-group-block
    3. cd my-volto-project
  1. Install new add-ons and restart Volto:

    1. yarn
    2. yarn start
  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)