✨ 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,25 @@
|
||||
{
|
||||
"name": "website",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc --noEmit -p tsconfig.json && vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@navikt/ds-css": "workspace:*",
|
||||
"@navikt/ds-react": "workspace:*",
|
||||
"@navikt/ds-tokens": "workspace:*",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "18.3.11",
|
||||
"@types/react-dom": "18.3.1",
|
||||
"@vitejs/plugin-react": "4.3.2",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "5.4.8"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user