@mudlabs/mudlify-snowpack-plugin
v0.5.0
Published
Plugin for Mudlify Snowpack apps
Downloads
19
Maintainers
Readme
mudlify-snowpack-plugin
A Plugin for Snowpack Mudlify apps. The plugin transforms the contents of files so that any placeholder tags are populated with the files corrisponding Netlify CMS data.
See the Mudlify docs to learn how to configure the tags
-> cms data
relationships.
Usage
Add the package to your Snowpack app
devDependencies
.pnpm install -D @mudlabs/mudlify-snowpack-plugin
Specify the plugin in
snowpack.config.js
.- Be sure to point the config path to your
mudlify.yaml
file.
module.exports = { mount: {...}, plugins: [ [ "@mudlabs/mudlify-snowpack-plugin", { config: "mudlify.yaml" } ] ], installOptions: {...}, devOptions: {...}, buildOptions: {...} };
- Be sure to point the config path to your