diff --git a/packages/docs/.gitignore b/packages/docs/.gitignore index 804bd4a..ee015cb 100644 --- a/packages/docs/.gitignore +++ b/packages/docs/.gitignore @@ -1,3 +1,4 @@ node_modules dist *.local +components.d.ts \ No newline at end of file diff --git a/packages/docs/build/Caddyfile b/packages/docs/build/Caddyfile new file mode 100644 index 0000000..947cdf2 --- /dev/null +++ b/packages/docs/build/Caddyfile @@ -0,0 +1,7 @@ +www.slimfact.app { + handle { + root * /srv/www.slimfact.app + try_files {path}.html {path} /index.html + file_server + } +} \ No newline at end of file diff --git a/packages/docs/components.d.ts b/packages/docs/components.d.ts deleted file mode 100644 index 6d0b8f2..0000000 --- a/packages/docs/components.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* eslint-disable */ -// @ts-nocheck -// Generated by unplugin-vue-components -// Read more: https://github.com/vuejs/core/pull/3399 -export {} - -/* prettier-ignore */ -declare module 'vue' { - export interface GlobalComponents { - ComparisonCard: typeof import('./src/components/ComparisonCard.vue')['default'] - FeatureCard: typeof import('./src/components/FeatureCard.vue')['default'] - HelloWorld: typeof import('./src/components/HelloWorld.vue')['default'] - QAvatar: typeof import('quasar')['QAvatar'] - QBtn: typeof import('quasar')['QBtn'] - QCard: typeof import('quasar')['QCard'] - QCardSection: typeof import('quasar')['QCardSection'] - QCarousel: typeof import('quasar')['QCarousel'] - QCarouselSlide: typeof import('quasar')['QCarouselSlide'] - QDrawer: typeof import('quasar')['QDrawer'] - QHeader: typeof import('quasar')['QHeader'] - QIcon: typeof import('quasar')['QIcon'] - QImg: typeof import('quasar')['QImg'] - QItem: typeof import('quasar')['QItem'] - QItemLabel: typeof import('quasar')['QItemLabel'] - QItemSection: typeof import('quasar')['QItemSection'] - QLayout: typeof import('quasar')['QLayout'] - QList: typeof import('quasar')['QList'] - QNoSsr: typeof import('quasar')['QNoSsr'] - QPage: typeof import('quasar')['QPage'] - QPageContainer: typeof import('quasar')['QPageContainer'] - QRouteTab: typeof import('quasar')['QRouteTab'] - QSpace: typeof import('quasar')['QSpace'] - QTabs: typeof import('quasar')['QTabs'] - QToolbar: typeof import('quasar')['QToolbar'] - QToolbarTitle: typeof import('quasar')['QToolbarTitle'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - } -} diff --git a/packages/docs/package.json b/packages/docs/package.json index dc66d58..be7ced5 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -24,7 +24,7 @@ "scripts": { "dev": "vitrify dev", "dev:ssr": "vitrify dev -m ssr", - "build": "run-s build:csr gzip", + "build": "run-s build:ssg gzip", "build:csr": "vitrify build", "build:ssr": "vitrify build -m ssr", "build:ssg": "vitrify build -m ssg",