Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSM committed Sep 22, 2023
1 parent 7be0fda commit 7b0ab64
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 504 deletions.
8 changes: 7 additions & 1 deletion apps/www/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { useScroll } from "@vueuse/core";
const { arrivedState } = useScroll(document);
const route = useRoute();
useSchemaOrg([
defineOrganization({
Expand Down Expand Up @@ -67,6 +66,13 @@ const { data: gitHub } = await useFetch<GitHubRepository>(
);
const menuOpened = ref<boolean>(false);
const arrivedState = ref({ top: true });
onMounted(() => {
const scroll = useScroll(document);
arrivedState.value = scroll.arrivedState;
});
</script>

<template>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import eslintPlugin from "vite-plugin-eslint";
import path from "node:path";

export default defineNuxtConfig({
ssr: false,
// ssr: false,
sourcemap: { server: true, client: false }, // Disable sourcemap errors
runtimeConfig: {
public: {
Expand Down
25 changes: 12 additions & 13 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,25 @@
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxtjs/fontaine": "^0.4.1",
"@types/node": "^20.6.3",
"nuxt": "^3.7.3",
"nuxt-schema-org": "^3.0.0",
"nuxt-simple-robots": "^3.1.5",
"nuxt-simple-sitemap": "^3.3.4",
"typescript": "^5.2.2"
"@nuxtjs/fontaine": "^0.2.5",
"@types/node": "^20.4.6",
"nuxt": "^3.6.5",
"nuxt-schema-org": "^2.2.0",
"nuxt-simple-robots": "^3.1.0",
"nuxt-simple-sitemap": "^3.1.4",
"typescript": "^5.1.6"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/vue-fontawesome": "^3.0.3",
"@nuxt/image-edge": "1.0.0-rc.2-28252196.34e7c67",
"@vueuse/nuxt": "^10.4.1",
"@nuxt/image-edge": "1.0.0-rc.1-28180077.d51e794",
"@vueuse/nuxt": "^10.3.0",
"eslint-config-custom": "workspace:*",
"humps": "^2.0.1",
"nuxt-umami": "^2.5.4",
"tailwind-config": "workspace:*",
"unstorage": "^1.8.0"
"nuxt-umami": "^2.5.2",
"tailwind-config": "workspace:*"
}
}
}
Loading

0 comments on commit 7b0ab64

Please sign in to comment.