@studio-fes/create-fes-app 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -0
- package/bin/create-fes-app.mjs +180 -0
- package/package.json +28 -0
- package/templates/craft/.env +6 -0
- package/templates/craft/.env.example +9 -0
- package/templates/craft/.nuxt/app.config.mjs +25 -0
- package/templates/craft/.nuxt/components.d.ts +212 -0
- package/templates/craft/.nuxt/eslint.config.d.mts +9 -0
- package/templates/craft/.nuxt/eslint.config.mjs +77 -0
- package/templates/craft/.nuxt/fetch.d.ts +1 -0
- package/templates/craft/.nuxt/graphql-operations/index.d.ts +2064 -0
- package/templates/craft/.nuxt/graphql-operations/index.js +0 -0
- package/templates/craft/.nuxt/i18n-route-resources.mjs +8 -0
- package/templates/craft/.nuxt/image/providers.d.ts +53 -0
- package/templates/craft/.nuxt/imports.d.ts +128 -0
- package/templates/craft/.nuxt/link-checker/routes.json +1 -0
- package/templates/craft/.nuxt/manifest/meta/8c7a2100-6449-4269-93f2-c4a4d3c46ac1.json +1 -0
- package/templates/craft/.nuxt/module/nuxt-schema-org.d.ts +14 -0
- package/templates/craft/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/templates/craft/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
- package/templates/craft/.nuxt/module/nuxt-site-config.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/config.js +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/nitro.d.ts +27 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.js +29 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/response.d.ts +22 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.d.ts +11 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.js +9 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/config.js +10 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/server-options.js +2 -0
- package/templates/craft/.nuxt/nuxt.d.ts +59 -0
- package/templates/craft/.nuxt/nuxt.node.d.ts +29 -0
- package/templates/craft/.nuxt/nuxt.shared.d.ts +8 -0
- package/templates/craft/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/templates/craft/.nuxt/schema/nuxt.schema.json +3 -0
- package/templates/craft/.nuxt/tsconfig.app.json +461 -0
- package/templates/craft/.nuxt/tsconfig.json +471 -0
- package/templates/craft/.nuxt/tsconfig.node.json +245 -0
- package/templates/craft/.nuxt/tsconfig.server.json +336 -0
- package/templates/craft/.nuxt/tsconfig.shared.json +267 -0
- package/templates/craft/.nuxt/types/app.config.d.ts +39 -0
- package/templates/craft/.nuxt/types/build.d.ts +60 -0
- package/templates/craft/.nuxt/types/builder-env.d.ts +1 -0
- package/templates/craft/.nuxt/types/components.d.ts +217 -0
- package/templates/craft/.nuxt/types/i18n-plugin.d.ts +133 -0
- package/templates/craft/.nuxt/types/imports.d.ts +1132 -0
- package/templates/craft/.nuxt/types/layouts.d.ts +20 -0
- package/templates/craft/.nuxt/types/middleware.d.ts +7 -0
- package/templates/craft/.nuxt/types/modules.d.ts +589 -0
- package/templates/craft/.nuxt/types/nitro-config.d.ts +14 -0
- package/templates/craft/.nuxt/types/nitro-imports.d.ts +222 -0
- package/templates/craft/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/templates/craft/.nuxt/types/nitro-middleware.d.ts +11 -0
- package/templates/craft/.nuxt/types/nitro-nuxt.d.ts +90 -0
- package/templates/craft/.nuxt/types/nitro-routes.d.ts +59 -0
- package/templates/craft/.nuxt/types/nitro.d.ts +3 -0
- package/templates/craft/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
- package/templates/craft/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
- package/templates/craft/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
- package/templates/craft/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
- package/templates/craft/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
- package/templates/craft/.nuxt/types/plugins.d.ts +61 -0
- package/templates/craft/.nuxt/types/runtime-config.d.ts +236 -0
- package/templates/craft/.nuxt/types/shared-app.config.d.ts +32 -0
- package/templates/craft/.nuxt/types/shared-imports.d.ts +10 -0
- package/templates/craft/.nuxt/types/vue-shim.d.ts +0 -0
- package/templates/craft/.vscode/extensions.json +7 -0
- package/templates/craft/.vscode/launch.json +15 -0
- package/templates/craft/.vscode/settings.json +73 -0
- package/templates/craft/.vscode/unocss.json +25 -0
- package/templates/craft/Dockerfile +37 -0
- package/templates/craft/README.md +75 -0
- package/templates/craft/_gitignore +24 -0
- package/templates/craft/app/app.vue +11 -0
- package/templates/craft/app/components/.gitkeep +0 -0
- package/templates/craft/app/components/LocaleSwitcher.vue +14 -0
- package/templates/craft/app/pages/[slug].vue +23 -0
- package/templates/craft/app/pages/index.vue +29 -0
- package/templates/craft/app/plugins/gsap-reduced-motion.client.ts +11 -0
- package/templates/craft/app/plugins/org-schema.server.ts +15 -0
- package/templates/craft/app/plugins/site-config.server.ts +17 -0
- package/templates/craft/eslint.config.js +73 -0
- package/templates/craft/graphql.config.ts +4 -0
- package/templates/craft/i18n/index.ts +6 -0
- package/templates/craft/i18n/locales/en.ts +3 -0
- package/templates/craft/i18n/locales/index.ts +17 -0
- package/templates/craft/i18n/locales/it.ts +3 -0
- package/templates/craft/i18n.config.ts +9 -0
- package/templates/craft/node_modules/.bin/acorn +43 -0
- package/templates/craft/node_modules/.bin/browserslist +43 -0
- package/templates/craft/node_modules/.bin/esbuild +34 -0
- package/templates/craft/node_modules/.bin/eslint +43 -0
- package/templates/craft/node_modules/.bin/eslint-config +43 -0
- package/templates/craft/node_modules/.bin/jiti +43 -0
- package/templates/craft/node_modules/.bin/nuxi +43 -0
- package/templates/craft/node_modules/.bin/nuxt +43 -0
- package/templates/craft/node_modules/.bin/rolldown +43 -0
- package/templates/craft/node_modules/.bin/rollup +43 -0
- package/templates/craft/node_modules/.bin/rollup-plugin-visualizer +43 -0
- package/templates/craft/node_modules/.bin/terser +43 -0
- package/templates/craft/node_modules/.bin/tsc +43 -0
- package/templates/craft/node_modules/.bin/vite +43 -0
- package/templates/craft/node_modules/.bin/webpack +43 -0
- package/templates/craft/node_modules/.bin/yaml +43 -0
- package/templates/craft/node_modules/.cache/jiti/craft-nuxt.config.96899b85.mjs +39 -0
- package/templates/craft/node_modules/.cache/jiti/i18n-index.2e90cf09.mjs +6 -0
- package/templates/craft/node_modules/.cache/jiti/i18n-index.a093f66a.mjs +6 -0
- package/templates/craft/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
- package/templates/craft/node_modules/.cache/jiti/layer-craft-nuxt.config.c163264b.mjs +36 -0
- package/templates/craft/node_modules/.cache/jiti/layer-craft-parse-env.a47fc157.mjs +23 -0
- package/templates/craft/node_modules/.cache/jiti/locales-index.3d828a7c.mjs +16 -0
- package/templates/craft/node_modules/.cache/jiti/locales-index.c7376a42.mjs +16 -0
- package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
- package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.e32906d8.mjs +25 -0
- package/templates/craft/node_modules/.cache/jiti/starter-craft-nuxt.config.573fb392.mjs +39 -0
- package/templates/craft/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
- package/templates/craft/nuxt.config.ts +39 -0
- package/templates/craft/package.json +26 -0
- package/templates/craft/public/_robots.txt +2 -0
- package/templates/craft/public/favicon.ico +0 -0
- package/templates/craft/public/og-image.jpg +0 -0
- package/templates/craft/queries/Entries.gql +35 -0
- package/templates/craft/queries/Entry.gql +22 -0
- package/templates/craft/queries/OrgSchema.gql +21 -0
- package/templates/craft/queries/Page.gql +6 -0
- package/templates/craft/queries/SiteConfig.gql +6 -0
- package/templates/craft/queries/fragments/Interfaces.gql +25 -0
- package/templates/craft/queries/fragments/Media.gql +11 -0
- package/templates/craft/queries/fragments/OrgSchemaField.gql +3 -0
- package/templates/craft/queries/fragments/SEO.gql +27 -0
- package/templates/craft/schema.graphql +12283 -0
- package/templates/craft/tsconfig.json +18 -0
- package/templates/craft/uno.config.ts +15 -0
- package/templates/strapi/.env +7 -0
- package/templates/strapi/.env.example +6 -0
- package/templates/strapi/.nuxt/app.config.mjs +25 -0
- package/templates/strapi/.nuxt/components.d.ts +216 -0
- package/templates/strapi/.nuxt/eslint.config.d.mts +9 -0
- package/templates/strapi/.nuxt/eslint.config.mjs +77 -0
- package/templates/strapi/.nuxt/fetch.d.ts +1 -0
- package/templates/strapi/.nuxt/graphql-operations/index.d.ts +315 -0
- package/templates/strapi/.nuxt/graphql-operations/index.js +31 -0
- package/templates/strapi/.nuxt/i18n-route-resources.mjs +5 -0
- package/templates/strapi/.nuxt/image/providers.d.ts +53 -0
- package/templates/strapi/.nuxt/imports.d.ts +126 -0
- package/templates/strapi/.nuxt/link-checker/routes.json +1 -0
- package/templates/strapi/.nuxt/manifest/meta/7053ffc6-a484-4262-9af2-d3139913c2af.json +1 -0
- package/templates/strapi/.nuxt/module/nuxt-schema-org.d.ts +14 -0
- package/templates/strapi/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/templates/strapi/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
- package/templates/strapi/.nuxt/module/nuxt-site-config.d.ts +46 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.js +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/nitro.d.ts +19 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +32 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.js +12 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/response.d.ts +18 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.d.ts +8 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.js +7 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/config.js +10 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.js +2 -0
- package/templates/strapi/.nuxt/nuxt.d.ts +58 -0
- package/templates/strapi/.nuxt/nuxt.node.d.ts +28 -0
- package/templates/strapi/.nuxt/nuxt.shared.d.ts +8 -0
- package/templates/strapi/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/templates/strapi/.nuxt/schema/nuxt.schema.json +3 -0
- package/templates/strapi/.nuxt/tsconfig.app.json +456 -0
- package/templates/strapi/.nuxt/tsconfig.json +466 -0
- package/templates/strapi/.nuxt/tsconfig.node.json +243 -0
- package/templates/strapi/.nuxt/tsconfig.server.json +334 -0
- package/templates/strapi/.nuxt/tsconfig.shared.json +267 -0
- package/templates/strapi/.nuxt/types/app.config.d.ts +39 -0
- package/templates/strapi/.nuxt/types/build.d.ts +60 -0
- package/templates/strapi/.nuxt/types/builder-env.d.ts +1 -0
- package/templates/strapi/.nuxt/types/components.d.ts +221 -0
- package/templates/strapi/.nuxt/types/i18n-plugin.d.ts +133 -0
- package/templates/strapi/.nuxt/types/imports.d.ts +1120 -0
- package/templates/strapi/.nuxt/types/layouts.d.ts +20 -0
- package/templates/strapi/.nuxt/types/middleware.d.ts +7 -0
- package/templates/strapi/.nuxt/types/modules.d.ts +569 -0
- package/templates/strapi/.nuxt/types/nitro-config.d.ts +14 -0
- package/templates/strapi/.nuxt/types/nitro-imports.d.ts +220 -0
- package/templates/strapi/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/templates/strapi/.nuxt/types/nitro-middleware.d.ts +11 -0
- package/templates/strapi/.nuxt/types/nitro-nuxt.d.ts +90 -0
- package/templates/strapi/.nuxt/types/nitro-routes.d.ts +44 -0
- package/templates/strapi/.nuxt/types/nitro.d.ts +3 -0
- package/templates/strapi/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
- package/templates/strapi/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
- package/templates/strapi/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
- package/templates/strapi/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
- package/templates/strapi/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
- package/templates/strapi/.nuxt/types/plugins.d.ts +58 -0
- package/templates/strapi/.nuxt/types/runtime-config.d.ts +244 -0
- package/templates/strapi/.nuxt/types/shared-app.config.d.ts +32 -0
- package/templates/strapi/.nuxt/types/shared-imports.d.ts +10 -0
- package/templates/strapi/.nuxt/types/vue-shim.d.ts +0 -0
- package/templates/strapi/README.md +75 -0
- package/templates/strapi/_gitignore +24 -0
- package/templates/strapi/app/app.vue +5 -0
- package/templates/strapi/app/components/DynamicZone.vue +75 -0
- package/templates/strapi/app/components/SectionSingleImage.vue +39 -0
- package/templates/strapi/app/components/VideoProgress.vue +34 -0
- package/templates/strapi/app/pages/[slug].vue +28 -0
- package/templates/strapi/app/pages/index.vue +12 -0
- package/templates/strapi/app/plugins/gsap-reduced-motion.client.ts +11 -0
- package/templates/strapi/app/plugins/site-config.server.ts +17 -0
- package/templates/strapi/eslint.config.js +74 -0
- package/templates/strapi/node_modules/.bin/esbuild +34 -0
- package/templates/strapi/node_modules/.bin/jiti +43 -0
- package/templates/strapi/node_modules/.bin/nuxi +43 -0
- package/templates/strapi/node_modules/.bin/nuxt +43 -0
- package/templates/strapi/node_modules/.bin/rolldown +43 -0
- package/templates/strapi/node_modules/.bin/rollup +43 -0
- package/templates/strapi/node_modules/.bin/rollup-plugin-visualizer +43 -0
- package/templates/strapi/node_modules/.bin/terser +43 -0
- package/templates/strapi/node_modules/.bin/tsc +43 -0
- package/templates/strapi/node_modules/.bin/vite +43 -0
- package/templates/strapi/node_modules/.bin/webpack +43 -0
- package/templates/strapi/node_modules/.bin/yaml +43 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-strapi-nuxt.config.29354bb2.mjs +33 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-strapi-parse-env.46647a07.mjs +23 -0
- package/templates/strapi/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
- package/templates/strapi/node_modules/.cache/jiti/modules-vue-strapi-blocks-renderer.5518edfe.mjs +22 -0
- package/templates/strapi/node_modules/.cache/jiti/starter-strapi-nuxt.config.b85f8ac6.mjs +15 -0
- package/templates/strapi/node_modules/.cache/jiti/strapi-nuxt.config.5d4f493c.mjs +15 -0
- package/templates/strapi/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
- package/templates/strapi/nuxt.config.ts +15 -0
- package/templates/strapi/package.json +19 -0
- package/templates/strapi/public/_robots.txt +2 -0
- package/templates/strapi/public/favicon.ico +0 -0
- package/templates/strapi/public/og-image.jpg +0 -0
- package/templates/strapi/queries/PageCustomPage.gql +5 -0
- package/templates/strapi/queries/PageHome.gql +15 -0
- package/templates/strapi/queries/fragments/MetaSocial.gql +9 -0
- package/templates/strapi/queries/fragments/PageCustomPage.gql +32 -0
- package/templates/strapi/queries/fragments/SectionError.gql +4 -0
- package/templates/strapi/queries/fragments/SectionSingleImage.gql +7 -0
- package/templates/strapi/queries/fragments/SeoMeta.gql +16 -0
- package/templates/strapi/queries/fragments/StrapiFile.gql +8 -0
- package/templates/strapi/schema.graphql +1091 -0
- package/templates/strapi/tsconfig.json +18 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = exports.default = defineNuxtConfig({
|
|
2
|
+
modules: [
|
|
3
|
+
'@nuxt/eslint',
|
|
4
|
+
'@nuxt/fonts',
|
|
5
|
+
'@nuxt/image',
|
|
6
|
+
'@nuxt/scripts',
|
|
7
|
+
'@nuxtjs/i18n',
|
|
8
|
+
'@nuxtjs/seo',
|
|
9
|
+
'@unocss/nuxt',
|
|
10
|
+
'@vueuse/nuxt',
|
|
11
|
+
'gsap-nuxt-module',
|
|
12
|
+
'nuxt-svgo'],
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
components: {
|
|
16
|
+
dirs: [
|
|
17
|
+
{ path: 'components', pathPrefix: false }]
|
|
18
|
+
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
imports: {
|
|
22
|
+
dirs: ['utils/**']
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
devtools: { enabled: true },
|
|
26
|
+
|
|
27
|
+
app: {
|
|
28
|
+
head: {
|
|
29
|
+
meta: [
|
|
30
|
+
{
|
|
31
|
+
name: 'format-detection',
|
|
32
|
+
content: 'telephone=no, address=no, email=no'
|
|
33
|
+
}]
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
vue: {
|
|
39
|
+
compilerOptions: {
|
|
40
|
+
isCustomElement: (tag) => tag.startsWith('media-') || tag.startsWith('hls-'),
|
|
41
|
+
comments: false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
runtimeConfig: {
|
|
46
|
+
multiCacheEnabled: process.env.NUXT_CACHE_ENABLED === 'true'
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
compatibilityDate: '2026-01-08',
|
|
50
|
+
|
|
51
|
+
eslint: {
|
|
52
|
+
config: {
|
|
53
|
+
standalone: false,
|
|
54
|
+
nuxt: {
|
|
55
|
+
sortConfigKeys: true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
gsap: {
|
|
61
|
+
plugins: ['CustomEase']
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
image: {
|
|
65
|
+
provider: 'ipx',
|
|
66
|
+
cloudflare: {
|
|
67
|
+
baseURL: process.env.NUXT_IMAGE_CLOUDFLARE_BASE_URL
|
|
68
|
+
},
|
|
69
|
+
format: ['webp']
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
ogImage: {
|
|
73
|
+
enabled: false
|
|
74
|
+
}
|
|
75
|
+
}); /* v9-d2f6fce609ff76df */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _parseEnv = await jitiImport("./parse-env");
|
|
2
|
+
|
|
3
|
+
const { graphqlEndpoint, hostname } = (0, _parseEnv.parseEnv)();var _default = exports.default =
|
|
4
|
+
|
|
5
|
+
defineNuxtConfig({
|
|
6
|
+
extends: ['@studio-fes/layer-base'],
|
|
7
|
+
|
|
8
|
+
modules: [
|
|
9
|
+
'nuxt-graphql-middleware',
|
|
10
|
+
'nuxt-multi-cache'],
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
runtimeConfig: {
|
|
14
|
+
multiCacheEnabled: process.env.NUXT_CACHE_ENABLED === 'true',
|
|
15
|
+
public: {
|
|
16
|
+
backendUrl: ''
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
graphqlMiddleware: {
|
|
21
|
+
downloadSchema: false,
|
|
22
|
+
graphqlEndpoint,
|
|
23
|
+
serverApiPrefix: '/gql',
|
|
24
|
+
clientCache: {
|
|
25
|
+
enabled: true
|
|
26
|
+
},
|
|
27
|
+
autoImportPatterns: ['./queries/**/*.gql']
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
image: {
|
|
31
|
+
domains: [hostname]
|
|
32
|
+
}
|
|
33
|
+
}); /* v9-8a4092df65605b9e */
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.parseEnv = parseEnv;function parseEnv() {
|
|
2
|
+
const backendUrl = process.env.NUXT_PUBLIC_BACKEND_URL;
|
|
3
|
+
if (!backendUrl) {
|
|
4
|
+
throw new Error('NUXT_PUBLIC_BACKEND_URL environment variable is not set');
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
let graphqlEndpoint;
|
|
8
|
+
let hostname;
|
|
9
|
+
try {
|
|
10
|
+
const baseUrl = new URL(backendUrl);
|
|
11
|
+
hostname = baseUrl.hostname;
|
|
12
|
+
if (!hostname) {
|
|
13
|
+
throw new Error('Missing hostname in NUXT_PUBLIC_BACKEND_URL environment variable');
|
|
14
|
+
}
|
|
15
|
+
graphqlEndpoint = new URL('graphql', baseUrl).toString();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
catch {
|
|
19
|
+
throw new Error('Invalid NUXT_PUBLIC_BACKEND_URL environment variable');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return { graphqlEndpoint, hostname };
|
|
23
|
+
} /* v9-b6069df1b18fb820 */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _nodeFs = await jitiImport("node:fs");
|
|
2
|
+
var _nodePath = await jitiImport("node:path");
|
|
3
|
+
var _kit = await jitiImport("@nuxt/kit");
|
|
4
|
+
|
|
5
|
+
const OG_IMAGE_FORMATS = ['webp', 'png', 'jpg', 'jpeg'];var _default = exports.default =
|
|
6
|
+
|
|
7
|
+
(0, _kit.defineNuxtModule)({
|
|
8
|
+
meta: {
|
|
9
|
+
name: 'og-image-detect'
|
|
10
|
+
},
|
|
11
|
+
setup(_options, nuxt) {
|
|
12
|
+
const publicDir = (0, _nodePath.resolve)(nuxt.options.rootDir, 'public');
|
|
13
|
+
const found = OG_IMAGE_FORMATS.find((ext) =>
|
|
14
|
+
(0, _nodeFs.existsSync)((0, _nodePath.resolve)(publicDir, `og-image.${ext}`))
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
if (!found) {
|
|
18
|
+
console.warn('[layer-base] No og-image.{webp,png,jpg,jpeg} found in public/ - is recommended to have one for social sharing fallback.');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
nuxt.options.runtimeConfig.public.ogImageFallback = found ?
|
|
22
|
+
`og-image.${found}` :
|
|
23
|
+
'og-image.png';
|
|
24
|
+
}
|
|
25
|
+
}); /* v9-8761563f2c5cf2ad */
|
package/templates/strapi/node_modules/.cache/jiti/modules-vue-strapi-blocks-renderer.5518edfe.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _kit = await jitiImport("@nuxt/kit");var _default = exports.default =
|
|
2
|
+
|
|
3
|
+
(0, _kit.defineNuxtModule)({
|
|
4
|
+
meta: {
|
|
5
|
+
name: 'vue-strapi-blocks-renderer'
|
|
6
|
+
},
|
|
7
|
+
setup() {
|
|
8
|
+
// Register the component
|
|
9
|
+
(0, _kit.addComponent)({
|
|
10
|
+
name: 'StrapiBlocks',
|
|
11
|
+
export: 'StrapiBlocks',
|
|
12
|
+
filePath: 'vue-strapi-blocks-renderer'
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// Register composable
|
|
16
|
+
(0, _kit.addImports)({
|
|
17
|
+
name: 'useStrapiBlocksContext',
|
|
18
|
+
as: 'useStrapiBlocksContext',
|
|
19
|
+
from: 'vue-strapi-blocks-renderer'
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}); /* v9-cd2c58a04844ff0b */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = exports.default = defineNuxtConfig({
|
|
2
|
+
extends: [
|
|
3
|
+
'@studio-fes/layer-strapi'],
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
runtimeConfig: {
|
|
7
|
+
public: {
|
|
8
|
+
baseUrl: ''
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
graphqlMiddleware: {
|
|
13
|
+
downloadSchema: 'dev-only'
|
|
14
|
+
}
|
|
15
|
+
}); /* v9-1e9f27ddc2577e3f */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = exports.default = defineNuxtConfig({
|
|
2
|
+
extends: [
|
|
3
|
+
'@studio-fes/layer-strapi'],
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
runtimeConfig: {
|
|
7
|
+
public: {
|
|
8
|
+
baseUrl: ''
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
graphqlMiddleware: {
|
|
13
|
+
downloadSchema: 'dev-only'
|
|
14
|
+
}
|
|
15
|
+
}); /* v9-1e9f27ddc2577e3f */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid":"9d7475ce-135d-4d0e-818b-713836f3cf7e"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "starter-strapi",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "nuxt build",
|
|
7
|
+
"dev": "nuxt dev",
|
|
8
|
+
"generate": "nuxt generate",
|
|
9
|
+
"preview": "nuxt preview",
|
|
10
|
+
"postinstall": "nuxt prepare"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@studio-fes/layer-base": "^0.3.9",
|
|
14
|
+
"@studio-fes/layer-strapi": "^0.3.9",
|
|
15
|
+
"nuxt": "^4.5.1",
|
|
16
|
+
"vue": "^3.5.40",
|
|
17
|
+
"vue-router": "^5.2.0"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
fragment PageCustomPage on Page {
|
|
2
|
+
introText
|
|
3
|
+
sections {
|
|
4
|
+
__typename
|
|
5
|
+
# ... on ComponentEditorialExpandableList {
|
|
6
|
+
# ...SectionExpandableList
|
|
7
|
+
# }
|
|
8
|
+
# ... on ComponentEditorialExpandedList {
|
|
9
|
+
# ...SectionExpandedList
|
|
10
|
+
# }
|
|
11
|
+
# ... on ComponentEditorialListPeople {
|
|
12
|
+
# ...SectionListPeople
|
|
13
|
+
# }
|
|
14
|
+
# ... on ComponentEditorialTextBlock {
|
|
15
|
+
# ...SectionTextBlock
|
|
16
|
+
# }
|
|
17
|
+
... on ComponentMediaSingleImage {
|
|
18
|
+
...SectionSingleImage
|
|
19
|
+
}
|
|
20
|
+
... on Error {
|
|
21
|
+
...SectionError
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
seo {
|
|
25
|
+
...SeoMeta
|
|
26
|
+
}
|
|
27
|
+
showreel {
|
|
28
|
+
...StrapiFile
|
|
29
|
+
}
|
|
30
|
+
slug
|
|
31
|
+
title
|
|
32
|
+
}
|