<%= description %>
- [View demo](https://cloak-<%= name %>.netlify.app)
- [Edit CodeSandbox](https://githubbox.com/<%= repoPath %>)
- Install with
yarn add <%= packageName %>
- Add to
nuxt.config
withbuildModules: ['<%= packageName %>']
Set these properties within cloak: { <%= name %>: { ... } }
in the nuxt.config.js:
blockMaxWidth
- A string that should match a global CSS class that adds horizontalpadding
and amax-width
to the block component. Defaults tomax-w
.
.max-w*
styles (included in Cloak viawhitespace.styl
)
<cloak-<%= name %>-block/>
Renders a Block to be used within a Tower.
- props:
maxWidth
- A string that should match a global CSS class that adds horizontalpadding
and amax-width
to the block component. Defaults tomax-w
.
Run yarn dev
to open a Nuxt dev build of the demo directory.