SME Router
A lightweight router lib that implement with express route style
Languages
Documentation
Get Start
Installation
npm i --save sme-router
Usage
index.html
SME Router
const router = 'router-view' // route configrouter router
Note: if your are not using webpack, your can simply import it to your html file
Please see the document for more details
Live demo
Running Example
1.clone the repo
npm inpm run dev
2.Test
npm run test // or => karma start
3.lint
npm run lint
Contributors
Thanks goes to these wonderful people (emoji key):
hwen 🤔 💻 🎨 📖 💡 |
---|
License
Copyright (c) 2017-present, hwen hwenleung@gmail.com