Skip to content

Commit

Permalink
site: vercel rewrites (#1873)
Browse files Browse the repository at this point in the history
* site: vercel rewrites

* wip

* docs(switch): color demo in zh
  • Loading branch information
07akioni authored Dec 16, 2021
1 parent c075d6c commit fc8cc00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/switch/demos/zhCN/color.demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineComponent({
} else {
style.background = '#2080f0'
if (focused) {
style.boxShadow = '0 0 0 2px #2080f40'
style.boxShadow = '0 0 0 2px #2080f040'
}
}
return style
Expand Down
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}

1 comment on commit fc8cc00

@vercel
Copy link

@vercel vercel bot commented on fc8cc00 Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.