0.2.549 • Published 4 years ago

vizz-video-templates v0.2.549

Weekly downloads
88
License
-
Repository
-
Last release
4 years ago

npm start -- app=example-001

开发模板

npm run build -- app=example-001

打包模板

npm run deploy -- app=example-001

发布模板

npm run release -- app=example-001

打包并发布模板

需同时在/public和/src/templates下创建相同文件名的模板名如 example-001,文件名对应templateId

每个template下(templates/example-001)需包含config.json文件

参考 piechart-001

npm run dev

video-templates 开发

通过引用

<link href="http://localhost:8093/css/index.css" rel="stylesheet"></link>
<script src="http://localhost:8093/js/index.js"></script>

方便开发

npm run templates

video-templates打包

npm publish

npm 发布video-templates