Vaadin Saas compiler and source map

Hi,

I work with a CSS expert who has never worked with vaadin.
He uses to work with a classic scss compiler which provide the source map option.
So he can easily debug its page in FF or chrome by binding SCSS and CSS file.

Vaadin Saas compiler seems to not provide sourcemap option.

https://dev.vaadin.com/ticket/11226

I’d like to know how you work with SCSS without this option which seems to be very usefull ?
Or maybe you know a workaround?

Thanks,

Arnaud

Hi Arnaud,

it’s possible to use an alternate SCSS/SASS compiler such as Compass.
How to integrate this into your workflow heavily depends on the build
system you are using (e.g. if you use Gradle, there’s a gradle-compass
plugin at https://github.com/robfletcher/gradle-compass ).

HTH,
Enver

Hi Enver,

I already use Compass,
But it didn’t work with a theme which inherit the Valo theme.

Have you ever try it ?
Do you confirm it should work?

Hi,

I have at least seen Valo-derived themes that were compiled with Compass. Of course things could have broken with later Vaadin versions. What kind of errors are you getting?

-tepi

Oh, and do note that to use Compass you will need to extract the Vaadin theme files out of the JAR file since Compass does not know to look there like the Vaadin compiler does.

-tepi

Hi Teppo, Hi Enver,

I uninstall all.
I re-install the ruby - compass soft.
I unzip my files like you said

You’re right,
It works very weel.

The problem was from my install I think,

Thanks a lot for your answer,

Arnaud