Skip to content

Commit 948d280

Browse files
committed
Fix histoire config
See histoire-dev/histoire#326
1 parent ca8baaa commit 948d280

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Upload artifact
3636
uses: actions/upload-pages-artifact@v3
3737
with:
38-
path: ./.histoire/dist/*
38+
path: ./.histoire/dist
3939

4040
deploy:
4141
runs-on: ubuntu-latest

histoire.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { defineConfig } from 'histoire'
22
import { HstVue } from '@histoire/plugin-vue'
33

44
export default defineConfig({
5+
vite: {
6+
base: "",
7+
},
8+
routerMode: 'hash',
59
plugins: [
610
HstVue(),
711
],

0 commit comments

Comments
 (0)