Vaadin cannot find my topics

I have an error below:

INFO: The requested resource [/VAADIN/themes/mytheme/styles.css] could not be found from the file system or through the class loader. Add a widget and / or JAR theme to your class path or add files to the WebContent / VAADIN folder.

I am using intellij. Here is my folder structure:

enter image description here

My mytheme.scss:

@import "../valo/valo.scss";
@mixin mytheme {
    @include valo;
    .v-button {
        color: blue;
        background: yellow;
    }
}

My styles.scss:

@import "mytheme.scss";
@import "addons.scss";
.mytheme {
    @include mytheme;
    @include addons;
}

My web.xml: http://wklej.org/id/2144139/

My pom.xml: http://wklej.org/id/2144140/

I compiled scss as in docs https://vaadin.com/docs/-/part/framework/themes/themes-compiling.html#themes.compiling.maven and I am not in working mode.

I do not know what I am doing wrong.

+4
source share
1

root .

Intellij:

  • webapp
  • " "
  • "Resource Root"

, .

+3

All Articles