【文件属性】:
文件名称:biojs3-webcomponent-example:biojs3组件示例的草案
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-22 12:55:52
HTML
生物成分
为您自己的可重用BioJS组件提供起点的元素。
依存关系
元素依赖关系通过管理。 您可以通过以下方式进行安装:
npm install -g bower
然后,继续下载该元素的依赖项:
bower install
玩元素
如果您希望元素,建议您使用使元素的依赖关系保持一致。 您可以通过以下方式安装它:
npm install -g polyserve
您可以通过以下方式运行它:
polyserve
运行后,您可以在http://localhost:8080/components/bio-component/预览元素,其中bio-component是包含该bio-component的目录的名称。
测试你的元素
只需导航到元素的/test目录即可运行其测试。 如果您使用的是Polyserve: http://localhost:8080/components/bio-
【文件预览】:
biojs3-webcomponent-example-master
----bio-component.js(3KB)
----bio-component.html(601B)
----LICENSE(1KB)
----README.md(1KB)
----demo()
--------index.html(699B)
----index.html(365B)
----bio-component.css(361B)
----bower.json(690B)
----test()
--------basic-test.html(834B)
--------index.html(481B)