SCSS to CSS file conversion is not happening when run npm start

UI Components for React
Post Reply
Posts: 2
Joined: 07 Feb 2020, 04:48

30 Mar 2020, 08:45


Can you please help me to sort out this issue


Posts: 3996
Joined: 29 Jun 2013, 12:38

30 Apr 2020, 05:27

To run our PrimeReact project, you need to use sass command in commandline. Please see;

If you want to do it in a project, you can use node-sass-chokidar and npm-run-all packages. Exp;

Code: Select all

    "node-sass-chokidar": "^1.3.0",
    "npm-run-all": "^4.1.3"
  "scripts": {
    "build-css": "node-sass-chokidar src/ -o src/ | node-sass-chokidar public/resources/themes/ -o public/resources/themes/", /* you can change these folder paths according to your need */
    "start-js": "react-scripts start",
    "start": "npm-run-all -p build-css start-js ",

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest