New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Components folders
config isn't additive contrary to what the docs say
#1057
Comments
Thanks for catching this, there's an issue with Note: got bitten by their array merge strategy. |
Should be fixed in latest |
Coming back to this as the custom implementation of Specifically, something like this will be duplicated at least once, and it goes up depending on the number of front matter variables (I know it sounds weird, it's because of a stupid for loop): module.exports = {
locals: {
columns: [
{
title: "one",
},
{
title: "two",
},
{
title: "three",
},
{
title: "four",
},
]
},
} This can be a problem if you're looping through data, as it will render I've tested using |
Published |
The documentation for the components
folders
configuration (https://maizzle.com/docs/configuration/components) states that “The paths you defined will be added to the default folders.” This is not what happens in my experience.What I did:
npx degit maizzle/maizzle my-project
andnpm i
src
, add anincludes
folder with a file namedheader.html
.promotional.html
template, add an<x-header>
tag.config.js
, add the following config underbuild
:npm run build
Result:
The components in
src/components/
can no longer be found. I need to manually add all the default folders for it to work properly.The text was updated successfully, but these errors were encountered: