Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the router into module #13

Open
Akxe opened this issue Aug 10, 2017 · 1 comment
Open

Make the router into module #13

Akxe opened this issue Aug 10, 2017 · 1 comment

Comments

@Akxe
Copy link
Contributor

Akxe commented Aug 10, 2017

I thing that one nexte step should be also to make this router into self containing module, so that you can import it into your project with settings:
const router = new Router({ routes: "file" || routes, watchFile: true...}) router.listen(80, 443)
This would also eliminate anybody needing to go trough the file

@Irrelon
Copy link
Owner

Irrelon commented Aug 10, 2017

hmm that is a nice idea :) 👍

@Akxe Akxe mentioned this issue Aug 10, 2017
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants