Nico
Nico
Explore posts from servers
NNuxt
Created by Nico on 4/25/2025 in #❓・help
Running code at runtime only
No, I want to run the code once, when the server starts at build time @kapa.ai
14 replies
NNuxt
Created by Nico on 4/25/2025 in #❓・help
Running code at runtime only
No, I need it to be executed without API request @kapa.ai
14 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
Nice, will have a look, thanks! 😄
22 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
But why would it load every single icon? 😅
22 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
Packages
{
"name": "test-it",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
},
"dependencies": {
"@headlessui/vue": "^1.7.22",
"@nuxt/content": "^3.4.0",
"@nuxt/icon": "^1.11.0",
"@nuxt/image": "^1.10.0",
"@nuxt/ui": "^3.0.2",
"@nuxt/ui-pro": "^3.0.2",
"@nuxtjs/plausible": "^1.2.0",
"@nuxtjs/seo": "^3.0.2",
"@pinia/nuxt": "^0.5.5",
"@sentry/vue": "^9.11.0",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@testit-sdk/nuxt": "^1.0.2",
"hls.js": "^1.6.1",
"js-confetti": "^0.12.0",
"mixpanel-browser": "^2.63.0",
"nuxt": "^3.16.2",
"prettier-plugin-organize-attributes": "^1.0.0",
"prismjs": "^1.30.0",
"tailwindcss": "^4.0.0",
"test-it-nuxt": "^1.0.3",
"vue": "latest"
},
"devDependencies": {
"@iconify-json/akar-icons": "^1.2.0",
"@iconify-json/fa6-solid": "^1.2.0",
"@iconify-json/gg": "^1.2.0",
"@iconify-json/heroicons": "^1.2.0",
"@iconify-json/logos": "^1.2.0",
"@nuxt/eslint": "^0.4.0",
"@nuxtjs/tailwindcss": "^6.12.1",
"@types/mixpanel-browser": "^2.54.0",
"@types/node": "^22.14.0",
"@types/prismjs": "^1.26.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11"
},
}
{
"name": "test-it",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
},
"dependencies": {
"@headlessui/vue": "^1.7.22",
"@nuxt/content": "^3.4.0",
"@nuxt/icon": "^1.11.0",
"@nuxt/image": "^1.10.0",
"@nuxt/ui": "^3.0.2",
"@nuxt/ui-pro": "^3.0.2",
"@nuxtjs/plausible": "^1.2.0",
"@nuxtjs/seo": "^3.0.2",
"@pinia/nuxt": "^0.5.5",
"@sentry/vue": "^9.11.0",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@testit-sdk/nuxt": "^1.0.2",
"hls.js": "^1.6.1",
"js-confetti": "^0.12.0",
"mixpanel-browser": "^2.63.0",
"nuxt": "^3.16.2",
"prettier-plugin-organize-attributes": "^1.0.0",
"prismjs": "^1.30.0",
"tailwindcss": "^4.0.0",
"test-it-nuxt": "^1.0.3",
"vue": "latest"
},
"devDependencies": {
"@iconify-json/akar-icons": "^1.2.0",
"@iconify-json/fa6-solid": "^1.2.0",
"@iconify-json/gg": "^1.2.0",
"@iconify-json/heroicons": "^1.2.0",
"@iconify-json/logos": "^1.2.0",
"@nuxt/eslint": "^0.4.0",
"@nuxtjs/tailwindcss": "^6.12.1",
"@types/mixpanel-browser": "^2.54.0",
"@types/node": "^22.14.0",
"@types/prismjs": "^1.26.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11"
},
}
22 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
components: [{ path: '~/components', pathPrefix: false }],
modules: ['@nuxt/ui-pro', '@nuxt/eslint', '@pinia/nuxt', '@nuxt/image', '@testit-sdk/nuxt', '@nuxtjs/seo', '@nuxtjs/plausible'],
css: ['~/assets/css/main.css'],

ui: {
colorMode: false,
},

runtimeConfig: {
public: {

},
},

site: {
url: 'https://testit.so',
name: 'Test It',
description: 'Create AB tests in just a few clicks without any code. Compare variants against each other, find the best performing one and improve your conversion rate.',
defaultLocale: 'en',
trailingSlash: false,
},

metaTracking: { pixelList: ['510831084879949'] },

// googleTracking: { tagId: 'G-4LVL1M87CY' },
// redditTracking: { pixelId: 'a2_fjar9bt9a9bl' },

sitemap: {
exclude: ['/app/**', '/legal/**', '/confirmation', '/auth/callback', '/blog/**', '/docs/**'],
},

schemaOrg: {
identity: {
type: 'Organization',
name: 'Test It',
description: 'Create AB tests in just a few clicks without any code. Compare variants against each other, find the best performing one and improve your conversion rate.',
url: 'https://testit.so',
logo: 'https://testit.so/images/brand/logo-icon-color.svg',
},
},



nitro: {
prerender: {
autoSubfolderIndex: false,
crawlLinks: true,
routes: ['/', '/pricing'],
},
},

future: {
compatibilityVersion: 4,
},

sourcemap: {
client: 'hidden',
},

compatibilityDate: '2025-04-07',

plausible: {
// Prevent tracking on localhost
ignoredHostnames: ['localhost'],
},
});
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
components: [{ path: '~/components', pathPrefix: false }],
modules: ['@nuxt/ui-pro', '@nuxt/eslint', '@pinia/nuxt', '@nuxt/image', '@testit-sdk/nuxt', '@nuxtjs/seo', '@nuxtjs/plausible'],
css: ['~/assets/css/main.css'],

ui: {
colorMode: false,
},

runtimeConfig: {
public: {

},
},

site: {
url: 'https://testit.so',
name: 'Test It',
description: 'Create AB tests in just a few clicks without any code. Compare variants against each other, find the best performing one and improve your conversion rate.',
defaultLocale: 'en',
trailingSlash: false,
},

metaTracking: { pixelList: ['510831084879949'] },

// googleTracking: { tagId: 'G-4LVL1M87CY' },
// redditTracking: { pixelId: 'a2_fjar9bt9a9bl' },

sitemap: {
exclude: ['/app/**', '/legal/**', '/confirmation', '/auth/callback', '/blog/**', '/docs/**'],
},

schemaOrg: {
identity: {
type: 'Organization',
name: 'Test It',
description: 'Create AB tests in just a few clicks without any code. Compare variants against each other, find the best performing one and improve your conversion rate.',
url: 'https://testit.so',
logo: 'https://testit.so/images/brand/logo-icon-color.svg',
},
},



nitro: {
prerender: {
autoSubfolderIndex: false,
crawlLinks: true,
routes: ['/', '/pricing'],
},
},

future: {
compatibilityVersion: 4,
},

sourcemap: {
client: 'hidden',
},

compatibilityDate: '2025-04-07',

plausible: {
// Prevent tracking on localhost
ignoredHostnames: ['localhost'],
},
});
22 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
Ok, will do when I’m back
22 replies
NNuxt
Created by Nico on 4/12/2025 in #❓・help
Build size slow down website!
@kapa.ai No, I have a whole app, but the landing page is slow
22 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Yes! No idea what changed
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
No description
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Where can I change that?
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Oh nevermind I confused files from the CDN 🥲
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Oh wait
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
The page rule was somehow preventing it from working
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
😄
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Oh damn!! It worked!
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Not with the nuxt-mongoose package 😅
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Will try that too
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Will ask there too, thanks! And thanks for the help here! 🙂
36 replies
NNuxt
Created by Nico on 3/2/2025 in #❓・help
Impossible to cache anything with Nuxt + Cloudflare
Oh
36 replies