![]() It has been possible to use server components on static pages, but until now they would increase the payload size of your application. Let's keep this up! □ Fully static server components ![]() □ Compared to Nuxt 3.5.3, the minimal client bundle has decreased by ~0.7kB. (This also should decrease your total bundle size.) ![]() We also include your error component JS in your main entrypoint, meaning that if an error occurs when a user has no connectivity, you can still handle it with your ~/error.vue. ![]() The first thing that happens when your app is hydrated is that your plugins run, and so we now perform build-time optimisations on your plugins, meaning they do not need to be normalised or reordered at runtime. You can completely disable this indicator by setting spaLoadingTemplate: false in your nuxt configuration file. □ By default an animated Nuxt icon is rendered. You can now place an HTML file in ~/app/spa-loading-template.html with some HTML you would like to use to render a loading screen that will be rendered until your app is hydrated on these pages. If your site is served with ssr: false or you have disabled server-rendering on some of your pages, you might be particularly interested in the new built-in SPA loading indicator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |