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)
- `next lint` installs incompatible `eslint@9`
- Firebase hosting w/ monorepo - "Error: > Couldn't find a 'pages' directory..." HOT 1
- Static Analysis does not take conditional logic into account as to whether a Node API will be used at runtime on the edge HOT 1
- `DYNAMIC_SERVER_USAGE` error being thrown when combining `not-found` and the old `404` pages HOT 6
- File conventions are applied inside private folders
- Turbopack: CommonJS require import of 'canvas' fails to resolve when using react-pdf library HOT 1
- Set multiple cookies on API routes (Pages Router) HOT 1
- HMR broken for runtime edge when using "use client" directive
- Discrepancy in searchParams between server and client after clicking `Link` HOT 1
- Dev server is taking too much memory in my Macbook & Windows machine HOT 1
- Dev server is taking too much memory in my Macbook & Windows machine HOT 3
- ๅๅปบๆฐ็next14้กน็ฎไธญ๏ผไบง็ไบไธไธช้่ฏฏ HOT 1
- ๅๅปบhello word,ๅบ็ฐๆช็ฅ้่ฏฏ HOT 1
- ๆๅปบ้กน็ฎๅบ็ฐ้ฎ้ข HOT 4
- npm run build element type is invalid expected a string (for built-in components) or a class/function HOT 1
- npm run build element type is invalid expected a string (for built-in components) or a class/function HOT 1
- npm run build element type is invalid expected a string (for built-in components) or a class/function
- Docs: Allow https://nextjs.org/ to work when PerformanceObserver is undefined
- Memory Leak with Next.js's global fetch. Tested against http module HOT 18
- Missing styles on not-found (404) page HOT 1
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.