doz-router:DOZ框架的路由

时间:2021-05-09 08:22:51
【文件属性】:
文件名称:doz-router:DOZ框架的路由
文件大小:227KB
文件格式:ZIP
更新时间:2021-05-09 08:22:51
JavaScript 路由器路由器 DOZ框架的路由 住 安装 npm install --save doz-router 基本例子 import Doz from 'doz' import 'doz-router' Doz . component ( 'home-page' , { template ( h ) { return h `
I'm home page
` } } ) ; Doz . component ( 'about-page' , { template ( h ) { return h `
I'm about page
` } } ) ; Doz . component ( 'contact-page' ,
【文件预览】:
doz-router-master
----webpack.config.js(3KB)
----src()
--------query-to-object.js(416B)
--------constants.js(540B)
--------clear-path.js(104B)
--------index.js(15KB)
--------normalize-path.js(78B)
----.babelrc(24B)
----version-to-tag.sh(275B)
----.npmignore(165B)
----.travis.yml(34B)
----LICENSE(1KB)
----test()
--------server-history()
--------query-to-object.js(1KB)
--------SSR()
--------HMR()
--------index.js(3KB)
--------mocha.opts(89B)
----README.md(4KB)
----dist()
--------index.html(8KB)
--------index-home-wildcard.html(3KB)
--------index-initial-redirect-last.html(3KB)
--------index-no-destroy.html(8KB)
--------bundle.min.js(9KB)
--------index-initial-redirect-last-with-root.html(3KB)
--------index-history.html(8KB)
--------bundle.js(23KB)
--------index-history-root.html(8KB)
--------index-initial-redirect.html(3KB)
----.gitignore(987B)
----index.js(312B)
----CHANGELOG.md(3KB)
----package.json(3KB)

网友评论