我正在尝试将样式表添加到我的插件中。我跟随this并添加了一个样式文件夹和我的css "glstyle.css“,然后我的cumulocity.json如下所示:
{
"name": "Occupation Stats",
"description": "Parking spot occupation statistics",
"ngModules": [
"glsmartparking-v3.occupationstats"
],
"js": [
"index.js",
"dateutil.js",
"controllers/ocs-controller.js"
],
"css": [
"styles/glstyle.css"
]
}但是css没有加载到页面中。我做错了什么吗?
发布于 2016-07-27 20:31:50
在cumulocity.json中更改插件清单后,您是否再次向grunt pluginRegister:<pluginName>注册了插件
https://stackoverflow.com/questions/38484673
复制相似问题