Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tailwind的样式无法实时呈现? #1

Open
justjump opened this issue Jul 11, 2022 · 1 comment
Open

tailwind的样式无法实时呈现? #1

justjump opened this issue Jul 11, 2022 · 1 comment

Comments

@justjump
Copy link

justjump commented Jul 11, 2022

比如增加了text-6xl后,要重新npm run serve并且刷新才能生效.
tailwind.config.js里直接写文件名就可以
content: ['public/index.html', './src/pages/index/index.vue','./src/components/infolist.vue']
通配符就不行.

@sonofmagic
Copy link
Member

你好,我刚试了一下这个模板,来运行你这个case,是可以在开发中自动 hmr 生成样式的,不需要 重新npm run serve并且刷新就能生效的.

我更新了一下项目的啊依赖,你再试试呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants