Problem generating production files

Post Reply
javierflti
Posts: 1
Joined: 14 Jan 2023, 13:46

17 Jan 2023, 17:03

Hi
Im trying to generate production files in angular 14 project with prestige theme with command

Code: Select all

ng build --configuration --base-href="/"
And the generated index.html add two .css files to the header, but these files are .scss files that dont be converted to .css
These are the links added in index.html

Code: Select all

<link id="theme-css" rel="stylesheet" type="text/css" href="assets/theme/theme-blue.css">
    <link id="layout-css" rel="stylesheet" type="text/css" href="assets/layout/css/layout-blue.css">
And the files in assets

Image

cagatay.civici
Prime
Posts: 18601
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Jan 2023, 13:54

Hi,

You can build the css with;

Code: Select all

sass --update assets/layout/css/:assets/layout/css --no-source-map
You may need to install sass as well;

https://www.npmjs.com/package/sass

Post Reply

Return to “Prestige - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest