neo-cmp-cli 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/template/react-custom-widget-template/README.md +2 -2
- package/src/template/react-custom-widget-template/package.json +1 -1
- package/src/template/react-ts-custom-widget-template/package.json +1 -1
- package/src/template/react-ts-custom-widget-template/src/components/info-card/register.ts +1 -1
- package/src/template/react-ts-custom-widget-template/src/components/list-widget/register.ts +1 -1
- package/src/template/vue2-neo-custom-widget/package.json +1 -1
- /package/src/template/react-ts-custom-widget-template/src/components/info-card/{plugin.ts → model.ts} +0 -0
- /package/src/template/vue2-neo-custom-widget/src/widgets/info-card/{plugin.js → model.js} +0 -0
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
### 目录说明
|
|
2
2
|
- src: 自定义组件源码;
|
|
3
3
|
- src/assets: 存放组件静态资源,比如 css、img等;
|
|
4
|
-
- src/components:
|
|
4
|
+
- src/components: 存放自定义组件代码,每个自定义组件以自身名称(cmpType 数值)作为目录进行存放;
|
|
5
5
|
- src/components/info-card/index.jsx: 信息卡片自定义组件代码;
|
|
6
6
|
- src/components/info-card/register.js: 用于注册一个 neo 自定义组件,注册成功后编辑器画布区中才会正常展示自定义组件内容;
|
|
7
|
-
- src/components/info-card/model.js: 用于注册一个 neo-editor
|
|
7
|
+
- src/components/info-card/model.js: 用于注册一个 neo-editor 自定义组件模型,注册成功后编辑器左侧组件面板中会展示;
|
|
8
8
|
- src/preview.js: 用于本地预览自定义组件内容;
|
|
9
9
|
- neo.config.js: neo-cmp-cli 配置文件。
|
|
10
10
|
|
|
File without changes
|
|
File without changes
|