✨ Add aksel.nav.no website with live component examples
Vite + React docs site that imports @navikt/ds-react, @navikt/ds-css and @navikt/ds-tokens from the workspace and renders every component. Heading level now accepts string literals to match JSX usage.
This commit is contained in:
1 parent
adfcead7be
commit
9c8f55f5cf
10 files changed
+1242
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import "@navikt/ds-tokens/dist/tokens.css";
|
||||
import "@navikt/ds-css/dist/index.css";
|
||||
import "./main.css";
|
||||
import { App } from "./App";
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
);
|
||||
Reference in new issue
Block a user