gatsby-plugin-cmz
v1.0.0
Published
This plugin checks which `cmz` classnames have been used in gatsby's SSR, and inlines them in a `<style>` tag, to avoid a FOUC.
Downloads
2
Readme
gatsby-plugin-cmz
This plugin checks which cmz
classnames have been used in gatsby's SSR, and inlines them in a <style>
tag, to avoid a FOUC.
Instructions
npm install -S gatsby-plugin-cmz
- add to the
plugins
section of yourgatsby-config.js
:
plugins: [
// ...
// other plugins
// ...
{
resolve: 'gatsby-plugin-cmz',
}
]
Note: This is intended for use with cmz >= 3.13.0
Acknowledgenments
Inspired by gatsby-plugin-glamor