mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: revamp docsite for vercel
This commit is contained in:
parent
d3c89a60c3
commit
0b89a229d2
4 changed files with 6 additions and 9 deletions
|
@ -5,6 +5,10 @@
|
|||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Carbon Components Svelte</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/carbon-components-svelte/css/all.css"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"dev:svite": "svite",
|
||||
"build": "run-s build:*",
|
||||
"build:routify": "routify run -b",
|
||||
"build:svite": "svite build --base=/carbon-components-svelte --assetsDir=assets",
|
||||
"build:svite": "svite build --assetsDir=assets",
|
||||
"postbuild": "node scripts/postbuild",
|
||||
"deploy": "npx gh-pages -d dist"
|
||||
},
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
<script>
|
||||
import { Router, basepath } from "@sveltech/routify";
|
||||
import { Router } from "@sveltech/routify";
|
||||
import { routes } from "../.routify/routes";
|
||||
|
||||
$basepath = "/carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<style lang="scss" global>
|
||||
@import "carbon-components-svelte/css/all";
|
||||
</style>
|
||||
|
||||
<Router routes="{routes}" />
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
SideNavItems,
|
||||
SideNavMenu,
|
||||
SideNavMenuItem,
|
||||
SideNavLink,
|
||||
} from "carbon-components-svelte";
|
||||
import LogoGithub20 from "carbon-icons-svelte/lib/LogoGithub20";
|
||||
import Theme from "../components/Theme.svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue