wip: multi-type composer
This commit is contained in:
@@ -123,6 +123,13 @@ export default function App() {
|
||||
element: <NoteLayout />,
|
||||
errorElement: <ErrorScreen />,
|
||||
children: [
|
||||
{
|
||||
path: 'new',
|
||||
async lazy() {
|
||||
const { NewNoteScreen } = await import('@app/notes/new');
|
||||
return { Component: NewNoteScreen };
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'text/:id',
|
||||
async lazy() {
|
||||
|
||||
Reference in New Issue
Block a user