@tanstack/react-router 1.129.5 → 1.129.7
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.
package/dist/llms/rules/guide.js
CHANGED
|
@@ -173,7 +173,7 @@ To turn this feature on, simply set the \`autoCodeSplitting\` option to \`true\`
|
|
|
173
173
|
\`\`\`ts
|
|
174
174
|
// vite.config.ts
|
|
175
175
|
import { defineConfig } from 'vite'
|
|
176
|
-
import { tanstackRouter } from '@tanstack/
|
|
176
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
177
177
|
|
|
178
178
|
export default defineConfig({
|
|
179
179
|
plugins: [
|
|
@@ -251,7 +251,7 @@ For example, to bundle all UI-related components into a single chunk, you could
|
|
|
251
251
|
\`\`\`ts
|
|
252
252
|
// vite.config.ts
|
|
253
253
|
import { defineConfig } from 'vite'
|
|
254
|
-
import { tanstackRouter } from '@tanstack/
|
|
254
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
255
255
|
|
|
256
256
|
export default defineConfig({
|
|
257
257
|
plugins: [
|
|
@@ -279,7 +279,7 @@ For complex rulesets, you can use the \`splitBehavior\` function in your vite co
|
|
|
279
279
|
\`\`\`ts
|
|
280
280
|
// vite.config.ts
|
|
281
281
|
import { defineConfig } from 'vite'
|
|
282
|
-
import { tanstackRouter } from '@tanstack/
|
|
282
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
283
283
|
|
|
284
284
|
export default defineConfig({
|
|
285
285
|
plugins: [
|
|
@@ -343,7 +343,7 @@ The \`loader\` function is responsible for fetching data needed by the route. By
|
|
|
343
343
|
\`\`\`ts
|
|
344
344
|
// vite.config.ts
|
|
345
345
|
import { defineConfig } from 'vite'
|
|
346
|
-
import { tanstackRouter } from '@tanstack/
|
|
346
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
347
347
|
|
|
348
348
|
export default defineConfig({
|
|
349
349
|
plugins: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-router",
|
|
3
|
-
"version": "1.129.
|
|
3
|
+
"version": "1.129.7",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"isbot": "^5.1.22",
|
|
80
80
|
"tiny-invariant": "^1.3.3",
|
|
81
81
|
"tiny-warning": "^1.0.3",
|
|
82
|
-
"@tanstack/
|
|
83
|
-
"@tanstack/
|
|
82
|
+
"@tanstack/router-core": "1.129.7",
|
|
83
|
+
"@tanstack/history": "1.129.7"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@testing-library/jest-dom": "^6.6.3",
|