
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
nuxt-firebase-webframework
Advanced tools
A nuxt module for using Firebase Webframeworks with Nuxt to deploy full stack applications on Firebase
A nuxt module for using Firebase Webframeworks with Nuxt to deploy full stack applications on Firebase 🎉
nuxt-firebase-webframework
dependency to your project# Using pnpm
pnpm add -D nuxt-firebase-webframework
# Using yarn
yarn add --dev nuxt-firebase-webframework
# Using npm
npm install --save-dev nuxt-firebase-webframework
firebase-admin
and firebase-functions
dependencies to your project# Using pnpm
pnpm add firebase-admin firebase-functions
# Using yarn
yarn add firebase-admin firebase-functions
# Using npm
npm install firebase-admin firebase-functions
nuxt-firebase-webframework
to the modules
section of nuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-firebase-webframework'
]
})
ssr: true
in nuxt.config.ts
export default defineNuxtConfig({
ssr: true
modules: [
'nuxt-firebase-webframework'
]
})
firebaseWebframework
key in nuxt.config.ts
.export default defineNuxtConfig({
ssr: true
modules: [
'nuxt-firebase-webframework'
],
// example configuration - all options below
firebaseWebframework: {
projects: {
default: "my-firebase-project-id"
},
frameworksBackend: {
minInstances: 0,
maxInstances: 4,
concurrency: 80,
region: "europe-west1"
}
}
})
That's it! You can now run npm run dev
and npm run build
to test it out.
You will need to either configure a firebaseWebframework.projects.default
in nuxt.config.ts
, or have a .firebaserc
file in your project root to use the firebase deploy
command.
Make sure you have the firebase cli installed locally. See here for instructions.
Important:
You will need to enable the experimental webframeworks feature using the firebase cli tool. This only needs to be done once per installation of firebase-tools. Remember to do this in your cloud build environment if you are using CI/CD.
firebase experiments:enable webframeworks
Make sure you are working with the correct firebase project:
firebase use my-firebase-project-id
Use the firebase deploy
command to deploy your app.
firebase deploy
You can deploy to multiple projects by specifying the project name:
firebase deploy --project staging
Check out the firebase deploy cli docs for more information.
firebaseWebframework.projects
Object
{}
false
A map of project names to project ids. This is used to configure .firebaserc
file which is used by the firebase cli to determine which project(s) to deploy to. Checkout the Firebase project alias documentation
Example:
export default defineNuxtConfig({
firebaseWebframework: {
projects: {
default: "my-firebase-project-id-staging",
staging: "my-firebase-project-id-staging",
production: "my-firebase-project-id-production"
}
}
})
firebaseWebframework.frameworksBackend
HttpRequestOptions
{}
false
These options are a direct map to the firebase functions 2nd gen options. They are used to configure the firebase functions that are used to serve the nuxt app.
Note that not all regions support firebase webframworks yet. The current supported regions are:
us-central1
us-west1
us-east1
europe-west1
asia-east1
There is a PR open for firebase-tools cli to add more regions that you should thumbs up if you want to see more regions supported.
Example:
export default defineNuxtConfig({
firebaseWebframework: {
frameworksBackend: {
minInstances: 0,
maxInstances: 4,
concurrency: 80,
region: "europe-west1"
},
projects: {
default: "my-firebase-project-id"
}
}
})
FAQs
A nuxt module for using Firebase Webframeworks with Nuxt to deploy full stack applications on Firebase
The npm package nuxt-firebase-webframework receives a total of 6 weekly downloads. As such, nuxt-firebase-webframework popularity was classified as not popular.
We found that nuxt-firebase-webframework demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.