Do you want to create your own Plone site using Volto?
This talk will guide you through the whole process. From generating the boilerplate with create-volto-app to theming and creating your own views.
1. Create your own Volto site!Create your own Volto site!
Plone Conference 2019, FerraraPlone Conference 2019, Ferrara
-
“the most dangerous guy in the world”
Rob Gietema @robgietema
2. What will we cover?What will we cover?
Bootstrapping
Static Resources
Theming
Override Components
i18n
Override Views
Custom Views
Custom Widgets
Rich Text Editor Settings
Actions & Reducers
15. Extracting i18n StringsExtracting i18n Strings
$ yarn i18n
Extracting messages from source files...
Synchronizing messages to pot file...
Synchronizing messages to po files...
Generating the json files...
done!
16. Making Text TranslatableMaking Text Translatable
import { FormattedMessage } from 'react-intl';
<FormattedMessage
id="Some string"
defaultMessage="Some string"
/>
28. Pastanaga Icon SystemPastanaga Icon System
Injects SVG icons in the markup
import myCustomSVG from '~/icons/my-svg.svg';
import { Icon } from '@plone/volto/components';
<Icon name={myCustomSVG} />