![](/img/trans.png)
[英]In Vite2, How to import an ESModule in tailwind.config.js
[英]How can I add 2 html paths in my "tailwind.config.js"? Tailwindcss
有没有机会在不同的路径上添加第二个 html 文件? 实际路径是:
content: ["public/index.html"],
是否可以添加 html 路径,如:
content: ["public/index.html; public/info/contact.html"],?
content
值是一个字符串数组,因此您可以尝试:
content: ['public/index.html', 'public/info/contact.html']
您还可以使用 glob 模式来包含public
下的所有文件。
content: ['./public/**/*.html']
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.