我对加载聚合物元素有疑问。当我配置我的bower.json
文件依赖项时没有正确加载。
这是我的 bower.json 文件:
{
"name": "Example",
"description": "Example",
"version": "1.0.0",
"license": "https://vaadin.com/license/cvtl-1",
"authors": [
"Vaadin Ltd"
],
"dependencies": {
"iron-flex-layout": "PolymerElements/iron-flex-layout#^2.0.0",
"iron-form": "PolymerElements/iron-form#^2.0.0",
"iron-media-query": "PolymerElements/iron-media-query#^2.0.0",
"polymer": "Polymer/polymer#^2.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0",
"iron-icon": "^2.0.0",
"paper-toast": "^2.0.0",
"vaadin": "vaadin/vaadin#10.0.0-alpha8",
"vaadin-grid": "vaadin/vaadin-grid#4.1.0-beta1",
"vaadin-charts": "vaadin/vaadin-charts#6.0.0-alpha10",
"vaadin-valo-theme": "vaadin/vaadin-valo-theme#2.0.0-alpha5",
"vaadin-tabs": "^1.0.0",
"app-layout": "polymerelements/app-layout#2.1.0"
// "wysiwyg-e" : "^2.1.3"
},
"devDependencies": {
"web-component-tester": "Polymer/web-component-tester#^6.0.0"
},
"private": true,
"resolutions": {
"vaadin-grid": "4.1.0-beta1",
"vaadin-charts": "6.0.0-alpha10",
"vaadin-valo-theme": "2.0.0-alpha5"
}
}
我需要正确加载app-layout
和wysiwyg-e
. 我做错了什么 ?有什么建议吗?