git clone git@github.com:Ouest-France/platform.git
npm install
- BlockProvider Development Guide
- BlockProvider Tutorial
- Sample of BlockProvider
- Schemas documentation
- A block should not have it's own CSS, JS, fonts but leverage SipaUI components
... if you really have to (and hope to pass our platform validation team)
- every CSS class names & ids must be prefixed by your block-provider name
- JavaScript code must not conflict with other code, block with global variable
- a block's JavaScript files will be concatained and loaded asynchronously
- a block-provider should respond in less 150ms, if you responsed not fast enough, your block won't be rendered
- a block must be responsive (no fixed width)
Block are immutable β including their parameters configuration/templates/CSS/JS/fonts assets). If you update any part of it (e.g. change a CSS, a parameter, a template) then you will have to update the version number (follow semver) and submit again the block-provider to the platform for validation