A tailor-made Nuxt 4 module for Algolia InstantSearch with strong Vue InstantSearch parity.
@atoms-studio/nuxt-swiftsearch@1.x is now live on the latest npm dist-tag.
bun add @atoms-studio/nuxt-swiftsearch
bun add @atoms-studio/nuxt-swiftsearch@beta
:widgetsindexId isolation rulesuseAisRouter()Swiftsearch v1 tracks vue-instantsearch@4.24.3 parity:
AisInstantSearchSsr is intentionally not a separate component because SSR is built into AisInstantSearchAisConfigureRelatedItems is available as a compatibility alias for AisExperimentalConfigureRelatedItemsSee full matrix and audit details in docs/content/1.getting-started/6.widget-coverage-upstream-audit.md.
@atoms-studio/nuxt-swiftsearch dependency to your projectbun add @atoms-studio/nuxt-swiftsearch
Or use Nuxt's module command:
npx nuxi@latest module add swiftsearch
@atoms-studio/nuxt-swiftsearch to the modules section of nuxt.config.tsexport default defineNuxtConfig({
modules: ["@atoms-studio/nuxt-swiftsearch"],
});
That's it! You can now use Nuxt Swiftsearch in your Nuxt app ✨
# Install dependencies
bun install
# Generate type stubs
bun run dev:prepare
# Develop with the playground
bun run dev
# Build the playground
bun run dev:build
# Run Oxlint and Oxfmt check
bun run lint
bun run format:check
# Run Vitest
bun run test
bun run test:watch
# Release new version
bun run release
# Start next premajor beta channel (ex: 2.0.0-beta.0)
bun run release:beta
# Publish next beta iteration (ex: 2.0.0-beta.1)
bun run release:beta:next
This repo also includes a manual GitHub Actions workflow at .github/workflows/release.yml.
stable-* option to publish to latest.beta-start-v1 to start the next premajor beta line on the beta dist-tag.beta-next to publish the next prerelease iteration on beta.