nuxt / nuxt.com

The Nuxt website, made with Nuxt.
https://nuxt.com
MIT License
292 stars 152 forks source link

docs: firebase functions coexistense #1497

Open vis97c opened 7 months ago

vis97c commented 7 months ago

Describe the feature

The way firebase deploy docs are paraphrased can mislead devs into thinking other functions cannot be deployed alongside nuxt.

According to firebase docs, multiple sources are supported.

// firebase.json
{
  "functions": [
    {
      "source": "functions",
      "codebase": "default",
      "ignore": [
        "node_modules",
        ".git",
        "firebase-debug.log",
        "firebase-debug.*.log"
      ],
      "predeploy": [
        "npm --prefix \"$RESOURCE_DIR\" run build"
      ]
    },
    {
      "source": ".output/server",
      "codebase": "nuxt"
    }
  ],
// ...more rules
}

Pls improve on that or let me know what steps to take. (not sure where in the codebase the deploy docs are managed)

E: this does also seems to affect nitro docs

Additional information

Final checks

atinux commented 6 months ago

Happy to open a PR @vis97c ?