nyx_server

0.10.23 • Public • Published

碎片 预览 格式 /chip/preview/项目名称.碎片名称/碎片id(如果没有填null) /chip/preview/nxy_gitclient_test.chip1/null?templateDataId=1 params: templateDataId : 模板的数据id UI调用 格式 /chip/ui/ui名称/项目名.碎片名称/"碎片id"[...] /chip/ui/form/nxy_gitclient_test.chip1/1 发布 格式 /chip/publish/项目名.碎片名称/碎片id /chip/publish/nxy_gitclient_test.chip1/1
api调用 格式 /chip/api/api名称/项目名称.碎片名称

模板 预览 格式 /template/previre/栏目路径/数据id_模板类型_设备类型_扩展参数_分页号.shtml /template/preview/1-1-1-1/_data___1.html
编辑模式 格式 /template/edit/栏目路径/数据id_模板类型_设备类型_扩展参数_分页号.shtml 例如 /template/edit/periodicalExample/1_pcindex_pc__1.html 发布 格式 /template/publish/栏目路径/数据id_模板类型_设备类型_扩展参数_分页号.shtml /template/publish/1-1-1-1/_data___1.html UI调用 格式 /template/ui/ui名称/栏目路径/数据id_模板类型_设备类型_扩展参数_分页号.shtml /template/ui/form/1-1-1-1/_data___1.html
API调用
格式 /template/api/api名称/栏目路径/数据id_模板类型_设备类型_扩展参数_分页号.shtml /template/api/save/1-1-1-1/_data___1.html

模板引用碎片 <%=chip(type, id , ssi , bindTemplateDataId)%> type: [projectName.]chipType id: '' | 碎片id '' 暂时没有指定id,可以使用gencid生成 ssi: true|false发布模板时碎片的梳处理方式 bindTemplateDataId : 是否是绑定带模板实例 项目 发布 nyx publish --tag 上线 nyx online --project xxx --version xxx --gitrepo xxx 生成chip id nyx gencid

nyx start [--mode produce|deve] nyx build [--target subdir] nyx cdn [--target subdir]

Readme

Keywords

none

Package Sidebar

Install

npm i nyx_server

Weekly Downloads

4

Version

0.10.23

License

ISC

Last publish

Collaborators

  • ifengfe