@rola/plugin-document
v0.10.5
Published
Tap into rola document creation.
Readme
@rola/plugin-document
Quick access to the document creation process in rola.
See plugin docs for more info.
Install
npm i @rola/plugin-document --saveUsage
Add the plugin to the plugins array in your rola.plugins.js:
import document from '@rola/plugin-document'
export default [
document(({ context, ...customProps }) => {
return {
head: [ '<link />' ],
body: [ '<script />' ]
}
})
]License
MIT License © Eric Bailey
