Comments (18)
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
- Generate static application server-rendered on build time (see https://nuxtjs.org/guide#static-generated)
- Possibility to create dynamic routes via the filesystem API
- Custom layouts
- Middleware
- Store integration (Vuex)
- Using nuxt.js programmatically (I believe next.js was inspired by us for this one, see Guillermo tweet)
I really love next.js and the team behind zeit and we will keep improving nuxt.js the maximum we can.
from next.js.
Nuxt has appeared for Vue. It could be cool if bits were cross-pollinated back into Next.
from next.js.
@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).
from next.js.
@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?
from next.js.
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 :)
from next.js.
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.
from next.js.
@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"
from next.js.
Maybe we should start it from the Vue side @yyx990803 @defcc
from next.js.
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
from next.js.
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
from next.js.
@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.
from next.js.
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!
from next.js.
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.
from next.js.
@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
from next.js.
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.
from next.js.
ππ
from next.js.
In what ways are the docs lacking @adrianmcli? I usually have a harder time with custom docs websites than GitHub. Is it just me?
from next.js.
@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.
from next.js.
Related Issues (20)
- SWC panicks when processing nested `styled-jsx` tags HOT 1
- Code with a worker fails to build under the edge runtime, even if it's dead code.
- Runtime error in my local machine in rendering current time HOT 4
- Cdn problem with App Router HOT 1
- Values ββsent by headers in the middleware are not accepting letters with accents HOT 2
- Docker image ignores signals HOT 1
- Browser Navigation does not load correct page HOT 6
- The example from the documentation doesn't work. Link + [...catchAll] does not close modal window HOT 1
- The example from the documentation doesn't work. Link + [...catchAll] does not close modal window HOT 6
- Next.js cannot compile with turbo when lowlight is used HOT 5
- Screen flickers when setting cookies (server side)
- Docs: Resource Hints section contains `ReactDOM.prefetchDNS` method typo
- Inconsistent behavior with loading state (`loading.tsx`) and `useTransition`
- Problem with Next.js Turbo Mode and Non-English Characters. HOT 2
- 14.3.0-canary.28 fails with `node-module-in-edge-runtime` HOT 2
- Turbopack does not resolve "local" linked/file dependencies. HOT 1
- Failed to load plugin '@next/next declared in '--config >> eslint-config-next/core-web-vitals HOT 1
- next/font localFont can't resolve paths with import aliases
- Element type is invalid when building Next.js 14 project HOT 1
- LangChain not compatible with Next.js 14.2.x and causing error in server component rendering.
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 next.js.