簡體   English   中英

如何向我的種子Web應用程序添加角形材料

[英]How to add angular material to my seed web application

我在Web應用程序中使用seedstack,我想知道是否有添加角度材料的方法。

注意:我使用pom.xml來配置我的依賴關系,我也使用種子16.7.4版本和angular 1.4.14版本。

我試圖在pom中添加以下波紋管的依賴關系:

<dependency>
<groupId>org.seedstack.addons.w20</groupId>
<artifactId>w20-bridge-web-material-theme</artifactId>
</dependency>

但是當我嘗試訪問該應用程序時遇到了這個錯誤:

[ng:areq] http://errors.angularjs.org/1.4.14/ng/areq?  p0=w20MaterialCultureMenuController&p1=not%20a%20function%2C%20got%20undefined

請在下面找到我使用的網絡依賴關系:

<dependency>
        <groupId>org.seedstack.addons.w20</groupId>
        <artifactId>w20-bridge-web-business-theme</artifactId>
    </dependency>

    <dependency>
        <groupId>org.seedstack.addons.i18n</groupId>
        <artifactId>i18n-web</artifactId>
    </dependency>

    <dependency>
        <groupId>org.seedstack.addons.w20</groupId>
        <artifactId>w20-bridge-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.seedstack.addons.w20</groupId>
        <artifactId>w20-bridge-web-dataviz</artifactId>
    </dependency>
    <dependency>
        <groupId>org.seedstack.addons.w20</groupId>
        <artifactId>w20-bridge-web-bootstrap-3</artifactId>
    </dependency>
    <dependency>
        <groupId>org.seedstack.addons.w20</groupId>
        <artifactId>w20-bridge-web-business-theme</artifactId>
    </dependency>

感謝您的任何幫助。

您不能在同一W20應用程序中混合使用多個CSS框架實現或多個主題:

  • w20-bridge-web-material-theme依賴性依賴於w20-bridge-web-material依賴性。
  • w20-bridge-web-business-theme依賴項依賴於w20-bridge-web-bootstrap-3依賴項。

您必須選擇一個,但不能同時在類路徑中選擇兩者。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM