!29 修复tailwindcss无法正常工作

Merge pull request !29 from 山田/master
This commit is contained in:
lyt-Top 2022-07-03 06:23:56 +00:00 committed by Gitee
commit fdf9cd4abe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -52,22 +52,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
},
},
},
css: {
postcss: {
plugins: [
{
postcssPlugin: 'internal:charset-removal',
AtRule: {
charset: (atRule) => {
if (atRule.name === 'charset') {
atRule.remove();
}
},
},
},
],
},
},
css: { preprocessorOptions: { css: { charset: false } } },
define: {
__VUE_I18N_LEGACY_API__: JSON.stringify(false),
__VUE_I18N_FULL_INSTALL__: JSON.stringify(false),