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

Vue.js Support? #77

Closed
sebastianmacias opened this issue Oct 26, 2016 · 18 comments
Closed

Vue.js Support? #77

sebastianmacias opened this issue Oct 26, 2016 · 18 comments

Comments

@sebastianmacias
Copy link

Would you plan to support vue.js as an alternative to react?

@tiye
Copy link

tiye commented Oct 26, 2016

Maybe we should start it from the Vue side @yyx990803 @defcc

@chrisvfritz
Copy link

I'm actually checking out this project for inspiration as we think about how to improve the SSR experience with Vue. 🙂 I think next.js is probably better off staying focused on React, but it's likely we'll be stealing some ideas.

@tiye
Copy link

tiye commented Oct 26, 2016

Vue2 it now much more similar to React because of the heavy use of virtual DOM, except for some stateful code to initialize a Vue app, you can read the docs and some of my repos since I was working on building static sites with Vue2 in the past weeks:
https://github.com/coffee-js/vue-coffee-workflow
https://github.com/ElemeFE/vue-pages-workflow

@impronunciable
Copy link
Contributor

We have the idea of allowing the use of different renderers. The first that we had in mind were preact and inferno because those try to be as close as they can to react but it would be great to opem the game to frameworks like vue too

This is the issue/thread on topic #20

@chrisvfritz
Copy link

@impronunciable Sounds rad. 😄 I can foresee a few differences that would make a custom renderer on its own insufficient, but when/if you get to the point of exploring Vue integration, we'd be happy to collaborate.

@jimt
Copy link

jimt commented Nov 18, 2016

Nuxt has appeared for Vue. It could be cool if bits were cross-pollinated back into Next.

@Obiwarn
Copy link

Obiwarn commented Feb 1, 2017

Given the current momentum of vue on Github (40 000 stars) it seems it could be the successor of react (50 000 stars). So: yes please. Vue is awesome!

@zhaoyao91
Copy link

@Obiwarn one reason for the high number of stars of vue is that vue is created by chinese people and it has great chinese docs, so it appeals to many chinese, and, you know, the population of China is so large.
Vue is good, right, but I don't think react will be defeated by vue. (IMO, vue is much like a template sugar for react).

@FrancosLab
Copy link

@zhaoyao91 Not completely sure if that first sentence should be taken seriously lol, Vue definitely has seen good usage and support from Chinese companies but I don't think that's necessarily what drives the Vue community.

Even if Vue doesn't "defeat" react, which shouldnt matter anyway, because both are tools that do a similar job while accomplishing a different DX, Vue is still a good framework for the front-end, and saying it's simply "template sugar for react" is a huge understatement.

Nonetheless, Nuxt.js is awesome but would definitely would love to see Vue support in Next.js.

Next.js tagline could eventually become "Framework for server-rendered Javascript apps"

@zhaoyao91
Copy link

zhaoyao91 commented Feb 9, 2017

@FrancosLab sorry if my words lead to some misunderstanding :(. With the first sentence, which seems fail to be funny, I just want to express that there are many Chinese programmers who stick to Chinese docs and don't like to read any English docs, and it's not a good phenomenon. "template sugar for react" is indeed an understatement, sorry, I should say it offers a template layer compared with react.

BTW, both react and vue are good, hope them compete and evolve into better stages.

Now let's turn back to this issue. As I see nuxt is much like a vue version of next. if it will continuously follow the next.js way, do we really need to support vue in next.js?

@Atinux
Copy link

Atinux commented Feb 9, 2017

Nuxt.js started as a copy of next.js for vue.js. Actually, even with the version 0.9.7, nuxt can do everything that next.js does.

With the time, we started to add more features and differentiate each other while keeping the same philosophy.

Few of the features

I really love next.js and the team behind zeit and we will keep improving nuxt.js the maximum we can.

@impronunciable
Copy link
Contributor

Since nuxt.js it's a strong project and next opened the game for other renderers I think I can close this one. It will be interesting to see a next example with vue as the component renderer but nuxt it's a pretty good place to redirect to :)

@adrianmcli
Copy link
Contributor

Nuxt.js seems to have some AMAZING docs. I think we can do a little better with Next.js on this front. Should I make a new issue for this? If we decide to get some revamped docs, I would love to contribute to that.

@sedubois
Copy link
Contributor

sedubois commented Mar 6, 2017

@adrianmcli I think that would be amazing 👍 And once it's up it could also host a proper gallery of examples together with a link to a live demo on Now for each of them

@adrianmcli
Copy link
Contributor

It goes without saying that these docs should be built on top of Next.js 😝 I'll see if I have some time later this week, I could get the ball rolling on this.

@sedubois
Copy link
Contributor

sedubois commented Mar 6, 2017

🎉🎉

@rauchg
Copy link
Member

rauchg commented Mar 6, 2017

In what ways are the docs lacking @adrianmcli? I usually have a harder time with custom docs websites than GitHub. Is it just me?

@adrianmcli
Copy link
Contributor

@rauchg the content of the current README is great, but its presentation leaves something to be desired.

To me, the most important thing with large docs is quick access to the TOC (typically via a persistent side-nav) so you have a good sense of context and where you are in the document. It also provides the user with more confidence in jumping around. The current TOC is starting to get long because of how much information we have to convey, and it makes it a little unwieldy.

Overall, the Nuxt.js docs feel more structured and organized. The trade-off is that not all the information is on one page which will make it hard to grep/cmd+f.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests