Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/volto-customization/custom_block.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ import WeatherView from './components/Blocks/Weather/View';
export { WeatherView, WeatherEdit };
```

We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/config/blocks.ts`.
We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/index.js`.
For that we need the two blocks components we created and a SVG icon that will be displayed in the blocks chooser.

```ts
Expand Down