postcss-normalize
Hello. What is the correct way for reset styles in the Nuxt-project using post-normalize?
nuxt.config.ts file. Here's how you can do it:postcss key in nuxt.config.ts for PostCSS configuration, rather than a separate file, as explained in the Nuxt documentation on external configuration files.nuxt.config.ts file:nuxt.config.ts file.nuxt.config.ts file and your main CSS file to diagnose the problem further.npm install postcss-normalizepostcss.config.jspostcss-importexport default defineNuxtConfig({
postcss: {
plugins: {
'postcss-normalize': {}
}
}
})@import-normalize;export default defineNuxtConfig({
css: ['normalize.css/normalize.css'],
postcss: {
plugins: {
'postcss-normalize': {}
}
}
})@import 'normalize.css';