diff --git a/client/packages/cli/index.js b/client/packages/cli/index.js index 4543f136..cce678bd 100644 --- a/client/packages/cli/index.js +++ b/client/packages/cli/index.js @@ -51,6 +51,7 @@ const potentialEnvs = { svelte: "PUBLIC_INSTANT_APP_ID", vite: "VITE_INSTANT_APP_ID", expo: "EXPO_PUBLIC_INSTANT_APP_ID", + nuxt: "NUXT_PUBLIC_INSTANT_APP_ID", }; async function detectEnvType({ pkgDir }) { @@ -70,6 +71,9 @@ async function detectEnvType({ pkgDir }) { if (packageJSON.dependencies?.expo) { return "expo"; } + if (packageJSON.dependencies?.nuxt) { + return "nuxt"; + } return "catchall"; } diff --git a/client/www/pages/docs/cli.md b/client/www/pages/docs/cli.md index cc666b01..90fb5c8a 100644 --- a/client/www/pages/docs/cli.md +++ b/client/www/pages/docs/cli.md @@ -70,6 +70,7 @@ As a convenience, apart from `INSTANT_APP_ID`, we also check for: - `NEXT_PUBLIC_INSTANT_APP_ID` for next apps, - `PUBLIC_INSTANT_APP_ID` for svelte apps, - `VITE_INSTANT_APP_ID` for vite apps +- `NUXT_PUBLIC_INSTANT_APP_ID` for nuxt apps - `EXPO_PUBLIC_INSTANT_APP_ID` for expo apps ## Authenticating in CI