Building on Mac doesn't include SCSS files?

UI Components for Vue
Post Reply
Posts: 2
Joined: 14 Oct 2021, 20:10

11 Jul 2022, 15:56

I posted this on discord (Vue/Styling) a few days ago but no response from anyone there. ... 8410109972

I have a relatively simple PrimeVue project that I can build and run with no issues on Windows.

When I pull the same code in from Github to my Mac and npm run serve it, it leaves out all the stuff under the src/assets/sass folder.

Here's what I see in the Windows Chrome DevTools (Sources):

Here's the same when I do the same under Mac:

A possible clue, and indicator of my own naivete w.r.t. webpack, Sass, SCSS and that in Windows, if I drill into that orange folder and pick a file, the preview window shows me this:

Oddly, when I click onto that _button.scss file in the Sources list, at the top of my DevTools it says...

Code: Select all

Could not load content for http://localhost:8080/src/assets/sass/theme/designer/components/button/_button.scss (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
...yet it renders fine. Here's the look of a sample page in Windows. Note the look of the green-arrow stuff...

And here's how it looks on a Mac:

Any help GREATLY appreciated. I've been fighting with this for weeks.
Posts: 2
Joined: 14 Oct 2021, 20:10

22 Jul 2022, 21:18

No one? Nothing?

I posted this same question to the Discord for PrimeVue, and no one replied there, either.

I could really use some help.

Posts: 416
Joined: 23 Oct 2020, 09:28

26 Jul 2022, 13:43

Please firstly run the sass command.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests