Honza Pobořil
Honza Pobořil
# Workaround ``` "scripts": { "cloudflare": "NITRO_PRESET=cloudflare_pages nuxt build && NITRO_PRESET=static nuxt generate && cp -r dist/_worker.js public/_routes.json .output/public/ && rm -r dist && mv .output/public dist # https://github.com/nuxt/nuxt/issues/28526" ```
@therealstein No, this was not typo, I intentionally use custom _routes.json because the generated will run SSR even when we have html files there. This waste worker requests and also...
> Would you see if you can reproduce this in pure Nitro ([reproduction sandbox](https://stackblitz.com/github/unjs/nitro/tree/main/examples/hello-world)), and if so, raise [there](https://github.com/unjs/nitro/issues/new/choose)? 🙏 > > This is very unlikely to be a Nuxt-specific...
@danielroe This generates static html files, but not worker routes: ``` NITRO_PRESET=cloudflare_pages_static nuxt generate ``` Also `cloudflare_pages_static` is not mentioned in the docs. Other presets mentioned there does not generate...
Aha, this things changed :-) Moved to this command: ``` NITRO_PRESET=cloudflare_pages_static npx nuxt build ``` and in nuxt.config.ts: ``` nitro: { prerender: { crawlLinks: true, }, }, ``` It correctly...
You are correct, it works like this. For others: - nuxt.config.ts: ``` compatibilityDate: '2023-02-01', nitro: { prerender: { crawlLinks: true, routes: ['/'], }, }, ``` - `NITRO_PRESET=cloudflare_pages npx nuxt build`
Disabling scheduled backup on battery and on tethering is pretty common use-case what many other backup solutions support. For user is should be just two checkboxes, by default turned on.
Working well in production with M5Stack Atom S3 and ESP-IDF: ``` esphome: name: $id_name friendly_name: $human_name platformio_options: board_build.flash_mode: dio esp32: board: esp32-s3-devkitc-1 variant: esp32s3 framework: type: esp-idf external_components: - source:...
Also it can save resources while building - the same image does not have to be uploaded twice.