@nuxt/docs-nightly 5.0.0-29675450.fd7056aa → 5.0.0-29676109.a0871083
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -218,7 +218,7 @@ To improve performance, we need to first know how to measure it, starting with m
|
|
|
218
218
|
|
|
219
219
|
### Nuxi Analyze
|
|
220
220
|
|
|
221
|
-
[This](/docs/4.x/api/commands/analyze) command of `nuxi` allows to analyze the production bundle
|
|
221
|
+
[This](/docs/4.x/api/commands/analyze) command of `nuxi` allows you to analyze the production bundle of your Nuxt application. It leverages `vite-bundle-visualizer` (similar to `webpack-bundle-analyzer`) to generate a visual representation of your application's bundle, making it easier to identify which components take up the most space.
|
|
222
222
|
|
|
223
223
|
When you see a large block in the visualization, it often signals an opportunity for optimization—whether by splitting it into smaller parts, implementing lazy loading, or replacing it with a more efficient alternative, especially for third-party libraries.
|
|
224
224
|
|
package/4.api/5.kit/7.pages.md
CHANGED
|
@@ -65,7 +65,7 @@ You can read more about Nitro route rules in the [Nitro documentation](https://n
|
|
|
65
65
|
::
|
|
66
66
|
|
|
67
67
|
::tip{icon="i-lucide-video" to="https://vueschool.io/lessons/adding-route-rules-and-route-middlewares?friend=nuxt" target="_blank"}
|
|
68
|
-
Watch Vue School video about adding route rules and route
|
|
68
|
+
Watch Vue School video about adding route rules and route middlewares.
|
|
69
69
|
::
|
|
70
70
|
|
|
71
71
|
### Usage
|
|
@@ -116,7 +116,7 @@ function extendRouteRules (route: string, rule: NitroRouteConfig, options?: Exte
|
|
|
116
116
|
About route rules configurations, you can get more detail in [Hybrid Rendering > Route Rules](/docs/4.x/guide/concepts/rendering#route-rules).
|
|
117
117
|
::
|
|
118
118
|
|
|
119
|
-
**options**:
|
|
119
|
+
**options**: An object to pass to the route configuration. If `override` is set to `true`, it will override the existing route configuration.
|
|
120
120
|
|
|
121
121
|
| Name | Type | Default | Description |
|
|
122
122
|
| ---------- | --------- | ------- | -------------------------------------------- |
|
|
@@ -133,7 +133,7 @@ Read more about route middlewares in the [Route middleware documentation](/docs/
|
|
|
133
133
|
::
|
|
134
134
|
|
|
135
135
|
::tip{icon="i-lucide-video" to="https://vueschool.io/lessons/adding-route-rules-and-route-middlewares?friend=nuxt" target="_blank"}
|
|
136
|
-
Watch Vue School video about adding route rules and route
|
|
136
|
+
Watch Vue School video about adding route rules and route middlewares.
|
|
137
137
|
::
|
|
138
138
|
|
|
139
139
|
### Usage
|