Skip to content

Commit

Permalink
fix(addon-twikoo): styles build, close #252
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Aug 20, 2023
1 parent 6ce4053 commit 9d2aea4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
21 changes: 11 additions & 10 deletions demo/yun/valaxy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import type { ThemeConfig } from 'valaxy-theme-yun'

import { addonAlgolia } from 'valaxy-addon-algolia'

// import { addonTwikoo } from 'valaxy-addon-twikoo'
import { addonWaline } from 'valaxy-addon-waline'
import { addonTwikoo } from 'valaxy-addon-twikoo'

// import { addonWaline } from 'valaxy-addon-waline'
import { addonComponents } from 'valaxy-addon-components'
import { addonLightGallery } from 'valaxy-addon-lightgallery'

Expand Down Expand Up @@ -94,14 +95,14 @@ export default defineValaxyConfig<ThemeConfig>({
indexName: 'valaxy',
}),
addonComponents(),
addonWaline({
serverURL: 'https://waline.yunyoujun.cn',
pageview: true,
comment: true,
}),
addonLightGallery(),
// addonTwikoo({
// envId: 'https://twikoo.vercel.app',
// addonWaline({
// serverURL: 'https://waline.yunyoujun.cn',
// pageview: true,
// comment: true,
// }),
addonLightGallery(),
addonTwikoo({
envId: 'https://twikoo.vercel.app',
}),
],
})
1 change: 0 additions & 1 deletion packages/valaxy-theme-yun/valaxy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default defineValaxyTheme<ThemeConfig>((options) => {
'valaxy-addon-algolia',
// adapt for twikoo
'valaxy-addon-twikoo',
'valaxy-addon-twikoo/client/styles/index.scss',
'valaxy-addon-waline',
],
},
Expand Down

2 comments on commit 9d2aea4

@vercel
Copy link

@vercel vercel bot commented on 9d2aea4 Aug 20, 2023

Choose a reason for hiding this comment

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

@github-actions
Copy link

Choose a reason for hiding this comment

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

🎉 Published on https://yun.valaxy.site as production
🚀 Deployed on https://64e1e9537de90c53776c4297--valaxy.netlify.app

Please sign in to comment.