0.1.1 • Published 7 years ago

omi-pr v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

omi-pr

Omi框架的预渲染工具。

安装使用 omi-pr

$ npm install omi-pr -g

目录结构

dir

  • omi.config.js 为配置文件,在里面配置omi.js的cdn地址
  • tpl.html 为所有HTML页面模板文件
  • main.js 为页面的入口文件

编译

在项目根目录下执行omi-pr便可:

$ omi-pr