![](/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.