"valo"라는 새로운 Vaadin 테마를 사용하려고합니다. 그래서Vaadin 테마 : java.lang.Exception : Mixin 정의 : valo 찾을 수 없음
만약 angel/테마/기본/styles.scss
$v-background-color: hsl(200, 50%, 50%);
@import "../valo/valo";
.default {
@include valo;
}
을 (공식 문서에 설명 된대로)이 파일을 생성하지만 받는다는와 응용 프로그램 컴파일하려고하면
[INFO] --- vaadin-maven-plugin:7.3.2:compile-theme (default) @ de.balindoo.theme.balindoo ---
[INFO] Updating theme VAADIN\themes\default
[ERROR] java.lang.Exception: Mixin Definition: valo not found
[ERROR] at com.vaadin.sass.internal.visitor.MixinNodeHandler.replaceMixins(MixinNodeHandler.java:40)
[ERROR] at com.vaadin.sass.internal.visitor.MixinNodeHandler.traverse(MixinNodeHandler.java:33)
[ERROR] at com.vaadin.sass.internal.tree.MixinNode.traverse(MixinNode.java:117)
[ERROR] at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:271)
[ERROR] at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:280)
[ERROR] at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:280)
[ERROR] at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:187)
[ERROR] at com.vaadin.sass.SassCompiler.main(SassCompiler.java:57)
[INFO] Theme "VAADIN\themes\default" compiled
을
내가 뭘 잘못하고 있니? 만약 angel-테마-7.3.2 패키지는 의존성에 추가되고 또한 예상대로 테마가 작동 순록 다시 전환 내 pom.xml 파일
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${version.vaadin.plugin}</version>
<configuration>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<noServer>true</noServer>
<webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets</webappDirectory>
<hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets</hostedWebapp>
<!-- Remove draftCompile when project is ready -->
<draftCompile>false</draftCompile>
<compileReport>true</compileReport>
<style>OBF</style>
<strict>true</strict>
</configuration>
<executions>
<execution>
<goals>
<!--<goal>clean</goal>-->
<goal>resources</goal>
<goal>update-widgetset</goal>
<goal>compile</goal>
<goal>update-theme</goal>
<goal>compile-theme</goal>
</goals>
</execution>
</executions>
</plugin>
의 빌드 섹션에서 다음과 같은 플러그인을 추가했다. 난 당신이 단지 테마 발로에 구축하거나 자신 만의 테마를 확장 사용하려는 모르겠어요
당신은 vaadin-themes-7.3.2가 있고 vaadin-sass-compiler-0.9.10도 거기에 있다는 것이 긍정적입니까? 그리고 퀴어 deps에 의해 일부 이전 버전? – cfrick
나는 내 의존성을 들여다 보았다. 두 패키지 (vaadin-themes 및 vaadin-sass-compiler)의 올바른 버전은 – vralfy
입니다. styles.css의 이름을 styles.scss로 변경하면 어떻게됩니까? – Krayo