kendo-vue
kendo-vue copied to clipboard
Building a Nuxt 3 project for production results in missing styles in the Native Grid
Describe the bug The Native Grid looks differently when tested in development and production builds. Everything is OK in the development build and once the project is built for production, the Grid borders are missing.
To Reproduce
- Download the Nuxt 3 Getting Started demo
- Install the npm packages (npm i)
- Run "npm run dev" and open the URL from the console. See the correct Grid look
- Run "npm run build"
- Run "npm run preview" and open the URL from the console. The Grid's borders are missing
Expected behavior All styles should be available in the Native Grid, once it is built for production
Screenshots
Dev build:
Production build:
The issue is related to cssnano: https://github.com/cssnano/cssnano/issues/1006