vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.38k forks source link

Vuetify : "Expected newline." loading vuetify sass files #1517

Open alfonsoterron opened 4 years ago

alfonsoterron commented 4 years ago

Hi all,

I am performing an issue when we trying load the sass files inside "~vuetify/src/styles/main.sass".

I tried to adjust the web-pack following this recommendations **(the new version does not works with node-sass)

https://vuetifyjs.com/en/customization/sass-variables#webpack-install

so I added:

{ test: /\.sass$/, loader: 'sass-loader', options: { implementation: require('sass'), fiber: require('fibers'), indentedSyntax: true // optional }, },

Error:

Screen Shot 2020-01-13 at 6 04 46 PM

PackageJS

"webpack": "^3.6.0", "vue-loader": "^13.3.0", "sass-loader": "^7.2.0", "sass": "^1.22.10", "vuetify": "^2.1.15", "vue": "^2.5.2",

We really need this in order to be ables to extends specific variables and components for custom themes.

Thanks in advanced

kaymation commented 2 years ago

did you ever resolve this?