# Epage 生态

# EpageVant

基于vant移动端组件库渲染包

# 用法

import { render } from 'epage-core'
import widgets, { entry } from 'epage-vant'

const el = document.getElementById('root')
new render.VueRender({ el, schema, widgets, component: entry })
1
2
3
4
5

# 示例

# EpageEcharts

基于echarts库的图表渲染包

# 用法

import { render } from 'epage-core'
import Epage from 'epage'
import iviewWidgets, { entry } from 'epage-iview'
import echartsWidgets from 'epage-echarts'

const widgets = Epage.helper.mergeWidgets(echartsWidgets, ...iviewWidgets)
const el = document.getElementById('root')

new Epage({
  el,
  schema,
  pc: {
    widgets,
    component: entry,
    Render: render.VueRender
  }
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# 示例

更新: 3/22/2021, 6:03:54 PM