poml:位置标记语言-用于描述字符串中组件位置的简单标记

时间:2021-04-08 10:11:58
【文件属性】:
文件名称:poml:位置标记语言-用于描述字符串中组件位置的简单标记
文件大小:48KB
文件格式:ZIP
更新时间:2021-04-08 10:11:58
TypeScript PoML-位置标记语言 This is a < 0> PoML . It stands for < 0> < 1> P ositional < 1> M arkup < 1> L anguage and it's used to < 2> interpolate components or tags into a string. 安装 React 对于React,只需安装poml-react模块: yarn add poml-react 核 对于核心软件包,只需安装poml yarn add poml 用法 console . log ( parsePOML ( 'Hello <0>world!' ) ) // [ // { type: 'TextNode', value: '
【文件预览】:
poml-main
----bin()
--------deploy.sh(924B)
----package.json(1KB)
----.prettierrc(90B)
----src()
--------poml.test.ts(4KB)
--------poml.ts(2KB)
--------poml-react.test.tsx(2KB)
--------poml-react.tsx(1KB)
--------index.ts(35B)
----tsconfig.json(429B)
----.gitignore(18B)
----README.md(4KB)
----yarn.lock(93KB)
----.vscode()
--------settings.json(88B)

网友评论