nuxt-community / electron-template

Electron starter with nuxt.js
MIT License
251 stars 31 forks source link

cannot compile scss in electron-template #25

Open gaspergrom opened 5 years ago

gaspergrom commented 5 years ago

Version

v1.1.1

Reproduction link

https://codepen.io/gaspergrom/pen/bxQNgB

Steps to reproduce

in nuxt.config.js i changed to css: [ '@/assets/css/global.scss' ] and it throws error

15888:0918/113806.973:ERROR:CONSOLE(7574)] "Extension server error: Object not found: ", source: chrome-devtools://devtools/bundled/inspector.js (7574) ERROR Failed to compile with 1 errors11:38:07

This dependency was not found:

..\assets\css\global.scss in ./.nuxt/App.js To install it, you can run: npm install --save ..\assets\css\global.scss

in normal nuxt structure i can easly add scss like this but in electron template i can't add it ... i have to add css not scss

What is expected ?

to compile scss to css in nuxt structure

What is actually happening?

15888:0918/113806.973:ERROR:CONSOLE(7574)] "Extension server error: Object not found: ", source: chrome-devtools://devtools/bundled/inspector.js (7574) ERROR Failed to compile with 1 errors11:38:07

This dependency was not found:

..\assets\css\global.scss in ./.nuxt/App.js To install it, you can run: npm install --save ..\assets\css\global.scss

This bug report is available on Nuxt community (#c22)
Modcat commented 5 years ago

Dudes are we fixing this?