【文件属性】:
文件名称:hook-examples:使用hook和hook-javascript的示例
文件大小:59KB
文件格式:ZIP
更新时间:2021-05-21 08:59:15
JavaScript
挂钩示例
用法示例的集合。
()
()
在本地运行
运行本地静态服务器:
npm install
npm start
Starting up http-server, serving . on: http://0.0.0.0:8080
为了能够在本地运行任何示例,您将需要在本地运行服务器,创建应用程序并更改要运行的演示的凭据。
# Download and install hook
curl -sSL https://raw.githubusercontent.com/doubleleft/hook/master/scripts/install.sh | bash
# Start server
hook server
# Create app
hook app:new hook-examples --endpoint http://localhost:4665/
执照
麻省理
【文件预览】:
hook-examples-master
----vendor()
--------jquery.min.js(82KB)
--------hook.js(54KB)
--------oauth.js(5KB)
----hook-ext()
--------config()
--------security.yaml(228B)
--------schema.yaml(24B)
--------packages.yaml(113B)
--------schedule.yaml(725B)
----package.json(665B)
----simple-poll()
--------.hook-config(93B)
--------index.html(1KB)
--------app.js(4KB)
--------README.md(976B)
----index.html(276B)
----LICENSE(1KB)
----oauth()
--------index.html(750B)
--------app.js(2KB)
--------README.md(268B)
----.gitignore(30B)
----README.md(855B)
----scripts()
--------publish.js(155B)