Set WebC component directory

This commit is contained in:
Helen Chong 2024-04-11 23:34:28 +08:00
parent 8dda307f07
commit 846201701b
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ module.exports = function (eleventyConfig) {
// Installed Plug-ins // Installed Plug-ins
eleventyConfig.addPlugin(EleventyRenderPlugin); eleventyConfig.addPlugin(EleventyRenderPlugin);
eleventyConfig.addPlugin(pluginWebc); eleventyConfig.addPlugin(pluginWebc, {
components: "./src/_includes/**/*.webc",
});
eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(metagen); eleventyConfig.addPlugin(metagen);