Learn how to build a Vue application deployed to the edge to bring a blazing fast experience to your end users.
This talk has been presented at Vue.js London 2023, check out the latest edition of this JavaScript Conference.
Learn how to build a Vue application deployed to the edge to bring a blazing fast experience to your end users.
This talk has been presented at Vue.js London 2023, check out the latest edition of this JavaScript Conference.
Nuxt Labs specializes in consulting, audits, and migrating projects from Nuxt 2 to Nuxt 3. They also developed Volta, a project management tool built on top of GitHub.
Alternatives to Cloudflare workers for Edge deployment include Vercel Edge functions, Netlify Edge functions, Edge.io, and StackPath.
Edge refers to deploying code to a limited environment running on CDN nodes, such as Cloudflare workers. It offers benefits like zero millisecond cold starts, automatic scaling, and cost efficiency.
Sebastian Chopin, also known as Inoox, is the CEO of Nuxt Labs.
The roadmap for full-stack Nuxt 3 aims to prioritize an edge-first experience, with a promising update expected by the end of the year.
Nuxt allows for easy integration of authentication, including SSO with GitHub, by providing utilities for creating custom API routes.
The Edge Runtime has limitations such as a total size limit of 5 megabytes and restrictions on using certain Node and browser features.
Nuxt is a web framework designed to create full-stack Vue applications, offering features like server-side rendering, client-side rendering, static site generation, and more.
Nuxt offers server-side rendering, client-side rendering, static site generation, edge site rendering, hooks system, file system router, auto-import, data fetching, middleware, plugins, layouts, transitions, server API, TypeScript, state management, and the experimental island component.
Database options for Edge deployment include Cloudflare D1, Torso, Postgre with Neon, Vercel on Neon, Superbase, Plan Scale for MySQL, HyperDB, and KV with Redis and Cloudflare storage.
Hello, everyone. I'm going to talk about Nuxt to the edge and what it means. Nuxt is a web framework with many features including server-side rendering, client-side rendering, static site generation, edge site rendering, hooks system, file system router, auto-import, data fetching, middleware, plugins, layouts, transitions, server API, TypeScript, state management, the island component, the layer system, preprocessor for stylus and SAS, the module ecosystem, testing, processors, and more. The Edge is a limited environment running on CDN nodes, such as Cloudflare network with about 200 nodes. It's quick, cheap, scalable, and affordable compared to serverless Lambda. Another option is dnodeploy.legon.app, which is open source.
Hello, everyone. I'm very glad to be here. I won't have so much time, so I will dive directly. I'm going to talk about Nuxt to the edge and what it means.
I'm at Inoox, also known as Sebastian Chopin, which is my real name. I am CEO at Nuxt Labs, and we do meet things, such as consulting and audits. It's also good if you want to migrate from Nuxt 2 to Nuxt 3. We also developed Volta, which is a project management built on top of GitHub and helped us develop Nuxt 3 and make it a stable version. And recently, Nuxt Studio is using Nuxt and Nuxt Content with Live Edition.
Nuxt is a web framework to create full stack view application. So, the question you asked to Daniel about the full stack experience is definitely on our roadmap, but we had to stabilize the framework, make it a good framework for front-end development before diving into the full stack experience. We also have many features. In case you don't know Nuxt, we have server-side rendering, client-side rendering, static site generation, edge site rendering, hooks system, file system router, auto-import, if you're lazy like me. Data fetching, middleware, plugins, layouts, transitions, server API, TypeScript, state management. We have a default state management, but obviously, you can use PNU of UX. We have the island component which is experimental but very promising regarding the server components. The layer system, I don't know if some of you have used layers internally. A few people, basically it's a Nuxt app that you can push on NPM and you can extend. We have preprocessor for stylus, SAS, the module ecosystem, as you have heard, testing, processors and many other features that I won't show you today.
The Edge, who already deployed to the Edge? One, two, okay. Five people out of 10 people. It's a limited environment and it's running on CDN nodes. It's been pushed by Cloudflare workers a few years ago and, basically, when you deploy your code, it's replicated on the network. Here, it's Cloudflare network and there are about 200 nodes. It renders quickly your code and it's very cheap to host. It runs in miniseconds from your end user whenever they are in the world. You have zero minisecond call starts, no server to maintain, it's scale automatically, and it's affordable compared to, it's not a scam, but the serverless Lambda which can cost you a lot of money. Here, we're talking about 50 cents per million of requests and they have a free tier for 100,000 requests per month. But Cloudflare worker is not the only one. Today, we have dnodeploy.legon.app, which is open source as well.
Vercel Edge function, Netlify Edge function, Edge.io, StackPath, and more are recommended for checking out. It has limitations and is different from Node and browser. It mostly uses the V8 engine to analyze JavaScript code. Plugins were challenging in the past, but now people are more familiar with creating universal JavaScript plugins. The Edge Runtime has limitations but also advantages, making it a tradeoff.
I highly recommend you to check out Vercel Edge function based on Cloudflare, Netlify Edge function, Edge.io, StackPath and many more are coming. But it has limitation. It's different than Node and browser. It's mostly using the V8 engine to analyze your JavaScript code. Like, six years ago, you could not use Window on Node. And you cannot use the file system in the browser. When you were working on plugins, it was a hard experience. But today, people are more used to creating universal JavaScript plugins. It's similar for the Edge Runtime. You have more limitation, but you have more advantage. It's a tradeoff.
We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career
Comments