From 72ad71f68b87200e77af36c6bf805259ae773f20 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 13 Nov 2024 10:25:16 +0800 Subject: [PATCH 1/2] fix: site build and deploy --- .dumirc.ts | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dumirc.ts b/.dumirc.ts index 1204eee..2365eec 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -17,4 +17,6 @@ export default defineConfig({ logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', }, outputPath: '.doc', + base: basePath, + publicPath, }); diff --git a/README.md b/README.md index 1a24599..d790077 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ rc-collapse ui component for react ## Live Demo -http://react-component.github.io/collapse/ +https://collapse-react-component.vercel.app ## Install From 4e711bb232608be31a5595c8122b9d2cabb96cda Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 13 Nov 2024 10:30:40 +0800 Subject: [PATCH 2/2] fix now.json --- now.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/now.json b/now.json index 983bba9..c502a14 100644 --- a/now.json +++ b/now.json @@ -5,7 +5,7 @@ { "src": "package.json", "use": "@now/static-build", - "config": { "distDir": "dist" } + "config": { "distDir": ".doc" } } ] }