nicgene
How to use Masonry layout in Nuxt 3
I tried a few libraries before settling on @yeger/vue-masonry-wall. You can find a Nuxt 3 plugin example at the following link: https://www.npmjs.com/package/@yeger/vue-masonry-wall
3 replies
How to run nitro task on cloudflare ?
If you're using a wrangler.toml, make sure the
[triggers]
section is defined. Also, check if the task was created in the Workers dashboard. The example in the documentation uses an array: '* * * * *': ['cms:update']
. https://nitro.unjs.io/guide/tasks#scheduled-tasks I'm not familiar with Nuxt Hub myself.5 replies
CDCloudflare Developers
•Created by Sylphritz on 9/19/2023 in #pages-help
Is there a way to connect to D1 locally in, say, a Nuxt.js app in dev mode?
I'm able to use D1 locally with the cloudflare_module preset. https://nitro.unjs.io/deploy/providers/cloudflare#cloudflare-module-workers
Using it with Nuxt 3 on Workers in a server route and am able to use D1 like the example:
Not able to get nuxt dev with reload/HMR working. wrangler dev will only build for production.
27 replies
CDCloudflare Developers
•Created by crossbeau on 9/27/2023 in #workers-help
CORS with SSR Nuxt on CF worker
At Nuxt Nation this year the team recommended NuxtSecurity and it has a CORS handler - https://nuxt-security.vercel.app/documentation/middleware/cors-handler
2 replies