diff --git a/.npmignore b/.npmignore index d3cb6e0..ab3b638 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1 @@ /test/* -/demo/* diff --git a/README.md b/README.md index 00f5ab5..c96481c 100644 --- a/README.md +++ b/README.md @@ -160,9 +160,7 @@ leafeon.add('home', '/', function () { 2. Init the router ~~~html - +const leafeon = new leafeon.Router(); ~~~ 3. Create some routes and run the router diff --git a/demo/index.html b/demo/index.html deleted file mode 100644 index 0ac8094..0000000 --- a/demo/index.html +++ /dev/null @@ -1,43 +0,0 @@ - -
- - - -