Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions frontend/app/error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
</nuxt-link>
</div>
</div>
<pre class="whitespace-pre-wrap">
{{error}}
</pre>
</div>
</main>
</template>
Expand Down
9 changes: 7 additions & 2 deletions frontend/app/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
<lfx-navbar />
<slot />
<lfx-toast theme="dark" />
<client-only>
<lfx-footer class="px-10 mx-auto max-w-3xl pb-6 pt-6" />
</client-only>
</main>
<!-- <lfx-footer />-->
</template>

<script setup lang="ts">
import LfxNavbar from '~/components/shared/layout/navbar.vue';
import LfxToast from '~/components/uikit/toast/toast.vue';
// import '@linuxfoundation/lfx-ui-core';
// Only import the UI core library on the client side
if (import.meta.client) {
await import('@linuxfoundation/lfx-ui-core');
}
</script>

<style lang="scss" scoped>
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"storybook:build": "storybook build"
},
"dependencies": {
"@linuxfoundation/lfx-ui-core": "^0.0.12",
"@linuxfoundation/lfx-ui-core": "^0.0.14",
"@nuxt/eslint": "^0.7.5",
"@pinia/nuxt": "0.9.0",
"@primevue/themes": "^4.2.5",
Expand Down
10 changes: 5 additions & 5 deletions frontend/pnpm-lock.yaml

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