Public Access
1
0

fix: implement tailwindcss

This commit is contained in:
2025-09-01 17:57:53 -04:00
parent b204e5a351
commit 87c304f0df
8 changed files with 2839 additions and 71 deletions

View File

@@ -4,14 +4,15 @@ const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
module.exports = function(eleventyConfig) {
// Pass through static assets from the "src" directory
eleventyConfig.addPassthroughCopy("src/css");
eleventyConfig.addPassthroughCopy("src/js");
eleventyConfig.addPassthroughCopy("src/resume");
eleventyConfig.addPassthroughCopy("src/assets/images");
eleventyConfig.addPassthroughCopy({ "src/favicon" : "/" } );
eleventyConfig.addPassthroughCopy({ 'src/robots.txt': '/robots.txt' });
eleventyConfig.addPassthroughCopy({ 'src/sitemap.xml': '/sitemap.xml' });
eleventyConfig.addPassthroughCopy("./src/css/style.css");
eleventyConfig.addPassthroughCopy("./src/css/prism-tomorrow.css");
eleventyConfig.addPlugin(syntaxHighlight);
@@ -60,6 +61,9 @@ module.exports = function(eleventyConfig) {
});
}
// Watch the Tailwind config file for changes
eleventyConfig.addWatchTarget("./tailwind.config.js");
return {
// Set the source and output directories
dir: {