feat: imported from @tanstack/router base vite-plugin logic

This commit is contained in:
Valerio Ageno
2024-04-28 10:46:45 +02:00
parent c0d4425414
commit 317169c5e4
19 changed files with 678 additions and 13 deletions
@@ -0,0 +1,5 @@
import * as React from 'react'
export default function Route(): JSX.Element {
return <h1>Test route</h1>
}
@@ -0,0 +1,7 @@
import * as React from 'react'
function PostsRoute() {
return <h1>Post route</h1>
}
export default PostsRoute
@@ -0,0 +1,4 @@
import * as React from 'react'
import { ImportedRoute } from '../shared/imported'
export default ImportedRoute