
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@nuxtjs/algolia
Advanced tools
WARNING: This package was recently moved to nuxt-community so it's name have changed from
@nuxt-modules/algolia
to@nuxtjs/algolia
. There was no other changes than the name of the package.
yarn add @nuxtjs/algolia # yarn
npm i @nuxtjs/algolia # npm
Firstly, you need to add @nuxtjs/algolia
to your Nuxt config.
// nuxt.config.js
{
buildModules: [
"@nuxtjs/algolia",
],
algolia: {
apiKey: "<YOUR_SEARCH_API_KEY>",
applicationId: "<YOUR_APPLICATION_ID>",
}
}
Then you can start using @nuxtjs/algolia
in your setup function!
<script setup>
const { result, search } = useSearch("test_index"); // pass your index as param
onMounted(async () => {
await search({ query: "Samsung" });
});
</script>
yarn install
or npm install
yarn dev
or npm run dev
FAQs
Algolia module for Nuxt
The npm package @nuxtjs/algolia receives a total of 2,732 weekly downloads. As such, @nuxtjs/algolia popularity was classified as popular.
We found that @nuxtjs/algolia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.