olive:香草SPA框架

时间:2021-05-10 03:32:04
【文件属性】:
文件名称:olive:香草SPA框架
文件大小:156KB
文件格式:ZIP
更新时间:2021-05-10 03:32:04
JavaScript 橄榄 :cocktail_glass: 基于vanillaJS的声明性DOM API。 OliveJS终于发布了! 您可以将其安装为npm软件包: > npm i olive-spa OliveJS是一个轻量级的香草SPA框架。 Docs仍然是WIP。 声明一个组件 import { html } from 'olive-spa' //declare a component as a simple function. This produces a single empty main element. const MyComponent = ( ) => html ( ) . main ( ) //there's nothing stopping you from defining a static component, notice it's not a function. //this will be i
【文件预览】:
olive-main
----webpack.dev.js(1KB)
----.gitattributes(66B)
----webpack.prod.js(389B)
----yarn.lock(352KB)
----src()
--------modules()
--------index.js(255B)
----.babelrc(117B)
----lib()
--------index.min.js(11KB)
--------index.js(21KB)
----LICENSE(1KB)
----webpack.common.js(711B)
----README.md(5KB)
----.gitignore(2KB)
----_config.yml(25B)
----package.json(2KB)

网友评论