scss.liquid question

Solved
Mmaaarten
Tourist
3 1 2

Hey there guys!

 

Im trying to add my scss.liquid as stylesheet_tag but somehow it is not working, im getting the following error : 
Refused to apply style from 'https://cdn.shopify.com/s/files/1/0578/1408/9909/t/3/assets/application.scss.liquid?v=18145130407580...' because its MIME type ('text/x-liquid') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

This is my code:

{{ 'application.scss.liquid' | asset_url | stylesheet_tag }}

When im removing .liquid after the .scss in the stylesheet tag it is working but it is not compiling my scss to css.
Cant someone help me out with my question?

Thanks guys!

KetanKumar
Shopify Partner
23514 2362 8641

@Mmaaarten 

sorry for that issue  can your try this way

{{ 'theme.scss.css' | asset_url | stylesheet_tag }}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Mmaaarten
Tourist
3 1 2

i tried this as well but it did not work...

0 Likes
KetanKumar
Shopify Partner
23514 2362 8641

@Mmaaarten 

can you please share issue images

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Mmaaarten
Tourist
3 1 2

This is an accepted solution.

I fixed it with gulp.js compiler, i used this as a solution https://ablesense.com/blogs/news/using-gulp-to-compile-sass-liquid-Custom%20Fields

KetanKumar
Shopify Partner
23514 2362 8641

@Mmaaarten 

wow great

thanks for update

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing