Skip to content

Commit

Permalink
chore: trying to fix issues with style import; updated some packages
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed May 7, 2024
1 parent b52a4c1 commit f52c0bc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { h } from 'vue'
import DefaultTheme from 'vitepress/theme'
import './style.css'
import '@eodash/eodash/webcomponent.css'

/** @type {import('vitepress').Theme} */
export default {
Expand All @@ -13,7 +14,6 @@ export default {
},
async enhanceApp({ app, router, siteData }) {
if (!import.meta.env.SSR) {
import('@eodash/eodash/webcomponent.css');
const eodash = await import('@eodash/eodash/webcomponent');
app.use(eodash);
const jsonform = await import('@eox/jsonform');
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"devDependencies": {
"@eodash/eodash": "^5.0.0-alpha.2",
"@eox/jsonform": "^0.6.1",
"@eox/storytelling": "latest",
"@eox/jsonform": "^0.6.2",
"@eox/storytelling": "^0.6.0",
"vitepress": "^1.1.3",
"vue": "^3.4.21"
}
Expand Down
2 changes: 1 addition & 1 deletion uc1dashboard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: page
---

<script setup>
import { withBase } from 'vitepress'
import { withBase } from 'vitepress'
</script>

<eo-dash :config="withBase('/configs/firstconfig.js')"/>

0 comments on commit f52c0bc

Please sign in to comment.