Attachment form and table, MusicXML renderer

This commit is contained in:
2024-11-24 13:37:26 +01:00
parent a347a77e11
commit 02b4c08e7d
12 changed files with 1603 additions and 61 deletions

View File

@@ -1,6 +1,7 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import { Attachment } from "./routes/Attachment";
import { Home } from "./routes/Home";
import { Login } from "./routes/Login";
import { Piece } from "./routes/Piece";
@@ -18,7 +19,16 @@ const router = createBrowserRouter([
},
{
path: "piece/:pieceId",
Component: Piece,
children: [
{
index: true,
Component: Piece,
},
{
path: "attachment/:attachmentId",
Component: Attachment,
}
]
},
],
},