codecamp

Notadd 模块的安装

以内容管理模块为例。

GitHub源码安装方式:

  1. 克隆仓库的develop分支: cd notadd/modules git clone https://github.com/notadd/content.git
  2. 模块初始化: cd content composer install --no-dev
  3. 到 后台/全局/应用管理/模块配置/本地安装 进行模块的安装。

应用商店在线安装:

(后期提供)

Notadd Docker 安装
Notadd 插件安装
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

技术规范

API 结构

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }