Skip to content

Commit

Permalink
chore: change port config
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Jan 10, 2024
1 parent 718eaac commit b03f5f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
},
"scripts": {
"get-json": "node src/lib/scripts/get-json",
"dev": "npm run createStyleHandlerComponent:dev --silent && vite dev --port 8888 --open",
"dev": "npm run createStyleHandlerComponent:dev --silent && vite dev --port 8900 --open",
"build": "npm run get-json --silent && npm run createStyleHandlerComponent:prod --silent && NODE_ENV=production vite build --logLevel error",
"preview": "npm run build && vite preview --port 3000 --open",
"preview": "npm run build && vite preview --port 8900 --open",
"createStyleHandlerComponent:dev": "echo $'<script>import \"$components/StyleDevelopment.svelte\"</script>' > src/components/StyleHandler.svelte",
"createStyleHandlerComponent:prod": "echo $'<script>import \"$components/StyleProduction.svelte\"</script>' > src/components/StyleHandler.svelte",
"update-twitter-avatars": "node src/lib/scripts/get-twitter-avatars.js",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/ThemePreviews.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
})
</script>

<div class=" rounded-box grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5">
<div class="rounded-box grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5">
{#each themes as theme}
<div
class="border-base-content/20 hover:border-base-content/40 overflow-hidden rounded-lg border outline outline-2 outline-offset-2 outline-transparent"
Expand Down

0 comments on commit b03f5f1

Please sign in to comment.