【文件属性】:
文件名称:xander:用于前端和公式的前端框架
文件大小:145KB
文件格式:ZIP
更新时间:2021-05-10 15:14:50
JavaScript
Xander
概述
和前端框架。
用法
安装
npm install --save react formula xander
例子
快速开始
带有首页和404页的最小Xander应用程序。
index.js
// Import the boot function to intialize xander.
import React from "react" ;
import { render } from "xander" ;
// Import style onto the page.
require ( "./app.css" ) ;
// Define routes for the app.
let routes = [
{
path : "/" ,
component : props => < div> Hello, World. < / div >
}
【文件预览】:
xander-master
----.gitignore(142B)
----README.md(8KB)
----rules.css(427B)
----tests()
--------store.js(8KB)
--------router.js(4KB)
--------public-api.js(7KB)
----examples()
--------xan()
--------minimal()
--------rules()
----LICENSE(1KB)
----package.json(1KB)
----src()
--------store.js(7KB)
--------connect.js(728B)
--------rule.js(8KB)
--------loadable.js(2KB)
--------link.js(1KB)
--------router.js(4KB)
--------window.js(695B)
--------index.js(1KB)
--------eval.js(294B)
--------container.js(609B)
--------pathToRegexp.js(1KB)
----.babelrc(34B)
----index.js(169B)
----.npmignore(98B)
----.editorconfig(188B)
----lib()
--------xander.js(30KB)
--------xander.min.js(20KB)
----circle.yml(237B)