Comments (10)
use koa-convert
from mount.
we should probably add this to the readme of koa... way too many questions about it.
from mount.
we should probably add this to the readme of koa
@tejasmanohar I'm not sure koa-convert
works with koa-mount
. I don't have time to check that util this weekend. If no, will submit a PR 😄
from mount.
@tejasmanohar should we mention koa-convert
in koa
's Readme
?
from mount.
@coderhaoxin
should we mention
koa-convert
inkoa
'sReadme
?
probably. we've seen soo many issues opened about using modules for koa 2 :P
from mount.
I am using koa-convert, but last week I didn't have to. There was a #next branch that i was tracking against.
Unless there is another repo out there that has the name koa-mount without being THIS repo.
koa-convert + koa-mount does have a conflict with koa-router when using the .options functionality. At least in some of my tests that seemed to occur. I believe I'm tracking a fork of this project now.
from mount.
Searched through all the other issues as mentioned and found my answers. Should have checked closes issues first. Thanks team.
from mount.
@nevercast how did you manage to have it working with koa-router?
from mount.
@nevercast I keep the branch in my own forked repo
https://github.com/coderhaoxin/mount/tree/next-by-promise
from mount.
@vesparny I found a fork that added a next implementation. I might switch to tracking @coderhaoxin 's branch tomorrow when I'm back at work, since I know the next branch worked and Convert breaks.
from mount.
Related Issues (20)
- koa-mount + koa2 + koa-convert + koa-router HOT 17
- Doesn't work with Koa 2.0 HOT 3
- Should redirects be absolute? HOT 3
- Needs to be updated for latest koa-router? HOT 7
- Compatibility with koa@2.* HOT 1
- del
- Release 2.0 version HOT 1
- koa-mount v3
- Use of async function causes problems in recent versions (but not latest) of node.js HOT 4
- [Question] Nested mounting and ctx.mountPrefix HOT 4
- Notes on updating from koa v1.x to 2.x using koa-convert HOT 1
- Is there any way to access the routes this creates? HOT 2
- Path unmounted if error occurs HOT 2
- mounted app.context doesn't get applied to parent app HOT 4
- Missing trailing slash and relative paths HOT 1
- Cannot read property 'middleware' of undefined HOT 3
- Custom error thrown inside mounted app is converted to native Error HOT 2
- remove mounted app support
- Protected path with auth 🚧 -- Question HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mount.