@helloleo/plugins 0.1.18 → 0.1.19
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.
|
@@ -2,6 +2,10 @@ import { createFileRoute } from '@tanstack/react-router'
|
|
|
2
2
|
|
|
3
3
|
export const Route = createFileRoute('/')({ component: Home })
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Do not `export default function Home()`. This breaks the default
|
|
7
|
+
* codesplitting by Tanstack Router.
|
|
8
|
+
*/
|
|
5
9
|
function Home() {
|
|
6
10
|
return (
|
|
7
11
|
<div className="p-8">
|
package/package.json
CHANGED
|
@@ -2,6 +2,10 @@ import { createFileRoute } from '@tanstack/react-router'
|
|
|
2
2
|
|
|
3
3
|
export const Route = createFileRoute('/')({ component: Home })
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Do not `export default function Home()`. This breaks the default
|
|
7
|
+
* codesplitting by Tanstack Router.
|
|
8
|
+
*/
|
|
5
9
|
function Home() {
|
|
6
10
|
return (
|
|
7
11
|
<div className="p-8">
|