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

fix: server docs #1180

Merged
merged 1 commit into from
Jan 20, 2021
Merged

fix: server docs #1180

merged 1 commit into from
Jan 20, 2021

Conversation

debs-obrien
Copy link
Contributor

remove serverMiddleware from middleware folder in example

remove serverMiddleware from middleware folder in example
@@ -57,7 +57,7 @@ A Node.js server needs to be configured to execute your Vue.js application.

You can extend the server with serverMiddleware and control routes with middleware.

```js{}[middleware/api/logger.js]
```js{}[api/logger.js]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

api directory is currently picked by CIs like vercel and also in the feature, it will be used for api routes. So i would suggest using server-middleware in nuxt2 examples to avoid more potential conflicts

@debs-obrien debs-obrien merged commit 08c2b5c into master Jan 20, 2021
@debs-obrien debs-obrien deleted the fix-serverMiddleware branch January 20, 2021 11:58
debs-obrien added a commit that referenced this pull request Jan 20, 2021
@pi0
Copy link
Member

pi0 commented Jan 20, 2021

@debs-obrien

@debs-obrien
Copy link
Contributor Author

oops merged before I seen your comment. it seems on maintainers app reviews don't get shown in history and of course should have scrolled up on github and checked to see if someone had added review. will make new pr. sorry @pi0 and yeah makes sense

pi0 pushed a commit that referenced this pull request Jul 8, 2021
remove serverMiddleware from middleware folder in example
imgbot bot pushed a commit that referenced this pull request Jan 10, 2023
remove serverMiddleware from middleware folder in example
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

Successfully merging this pull request may close these issues.

2 participants