Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

feat(templates): deprecate server templates #501

Merged
merged 3 commits into from
May 12, 2020
Merged

Conversation

clarkdo
Copy link
Member

@clarkdo clarkdo commented Apr 29, 2020

According to the discussion for core team meeting, as Nuxt has published new programmatic API and nuxt/functions will be released soon, so members think we suggest users using serverMiddleware as server-side first choice and remove all server templates in create-nuxt-app.

TODO:

  • serverMiddleware template example
  • post or article for Nuxt official suggestion and guide /cc @atinux @pi0

@clarkdo clarkdo requested a review from a team April 29, 2020 18:08
@clarkdo clarkdo force-pushed the feat/remove-server branch from 40b8566 to 0a4640a Compare April 29, 2020 18:19
@clarkdo clarkdo force-pushed the feat/remove-server branch from 0a4640a to 9377713 Compare April 29, 2020 18:19
@clarkdo clarkdo requested review from atinux and pi0 April 30, 2020 21:35
@clarkdo
Copy link
Member Author

clarkdo commented May 11, 2020

@nuxt/core-team , could you give this pr a review ?

@atinux
Copy link
Member

atinux commented May 11, 2020

Good for me 🙌

@robbylucia
Copy link

I see the suggestions for replacing what was removed in this PR:

Use nuxt-render https://nuxtjs.org/api/nuxt-render or serverMiddleware https://nuxtjs.org/api/configuration-servermiddleware

But neither of these are as easy as selecting "Express" during initialization-- or is it? Will there be something re-added to create-nuxt-app to bring back the one-click setup for Nuxt apps?

@wizardpisces
Copy link

wizardpisces commented Jul 10, 2020

Where can we see the so called various reasons about why removing the server template? I could see the necessity of it...
From my perspective, it's another feature which only increasing the mental burden and nothing more.
Forgive my ability to understand the new docs, so we are stuck to Connect middleware ?
I could not find where to switch to koa or express middleware, anyone found it? Please give me some tip...

@pi0
Copy link
Member

pi0 commented Jul 10, 2020

Hi and sorry for not communicating properly on this change. Please continue following up #563.

@nuxt nuxt locked and limited conversation to collaborators Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants