斯特拉
用于本地Web组件的最小javascript库,开销最小
入门
您可以通过构建工具从npm导入stera或使用esmodules导入。
// Intall with 'npm i stera@1.0.0'
import { Component } from 'stera'
// or import as an esmodule
import { Component } from 'https://unpkg.com/stera/dist/index.js'
然后,您以类似于编写有状态的React组件的方式编写组件。
import { Component , html } fro
评论0
最新资源