Check out "FastHub for GitHub"
https://play.google.com/store/apps/details?id=com.fastaccess.github
https://play.google.com/store/apps/details?id=com.fastaccess.github
我的电脑
v0.1.1-alpha.7及以后可以直接通过这种方式绑定class了,使用cssmodule的话会方便很多
import style from './style.css'
import template from './template.eft'
const component = template.render()
component.$data.class = style
// const component = template.render({$data:{class: style}}) 也可以export default component
我的电脑
import style from './style.css' import template from './template.eft' const component = template.render() component.$data.class = style // const component = template.render({$data:{class: style}}) 也可以 export default component
import style from './style.css'
import template from './template.eft'
const getComponent = (data) => { const component = template.render({$data:{class: style}})if (data) component.$data = data
return component
}
export default getComponent
Forwarded from D X