【文件属性】:
文件名称:WebCell:基于JSX和TypeScript的Web组件引擎
文件大小:28KB
文件格式:ZIP
更新时间:2021-02-06 07:21:19
web-component spa ecmascript mvvm webapp
网络单元
基于和引擎
用法
演示和GitHub模板: :
项目引导
命令
npm init -y
npm install web-cell
npm install parcel-bundler -D
package.json {
" scripts " : {
" start " : " parcel source/index.html --open " ,
" build " : " parcel build source/index.html --public-url "
}
}
source/index.html
< script
【文件预览】:
WebCell-2
----.gitignore(60B)
----tsconfig.json(750B)
----.github()
--------workflows()
--------FUNDING.yml(97B)
----test()
--------tsconfig.json(167B)
--------WebField.spec.tsx(1KB)
--------renderer.spec.tsx(2KB)
--------utility.spec.ts(2KB)
--------WebCell.spec.tsx(4KB)
----source()
--------decorator.ts(2KB)
--------utility()
--------WebField.ts(3KB)
--------WebCell.tsx(7KB)
--------index.ts(139B)
--------renderer.ts(5KB)
----package.json(3KB)
----License(12KB)
----Contributing.md(183B)
----ReadMe.md(7KB)
----.npmignore(74B)
----MobX()
--------.gitignore(14B)
--------tsconfig.json(165B)
--------test()
--------source()
--------package.json(1KB)
--------ReadMe.md(1KB)
--------.npmignore(35B)
----.eslintrc.json(430B)