kendo-vue icon indicating copy to clipboard operation
kendo-vue copied to clipboard

Building a Nuxt 3 project for production results in missing styles in the Native Grid

Open PekoPPT opened this issue 2 years ago • 1 comments

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

  1. Download the Nuxt 3 Getting Started demo
  2. Install the npm packages (npm i)
  3. Run "npm run dev" and open the URL from the console. See the correct Grid look
  4. Run "npm run build"
  5. 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: image

Production build: image

PekoPPT avatar Jul 05 '23 11:07 PekoPPT

The issue is related to cssnano: https://github.com/cssnano/cssnano/issues/1006

filipKovachev avatar Dec 18 '23 12:12 filipKovachev