diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..706c68a --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,16 @@ +module.exports = ({ dev, rootDir, srcDir }) => ({ + theme: {}, + variants: {}, + plugins: [], + purge: { + // Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css + enabled: !dev, + content: [ + `${srcDir}/components/**/*.{vue,js}`, + `${srcDir}/layouts/**/*.vue`, + `${srcDir}/pages/**/*.vue`, + `${srcDir}/plugins/**/*.{js,ts}`, + `${rootDir}/nuxt.config.{js,ts}` + ] + } +});