Skip to content

Latest commit

 

History

History

svelte

examples-svelte

Here's an example of how you can integrate Boox with Svelte:

Project setup

Create a new Svelte project using Vite with TypeScript template:

npm create vite@latest examples/svelte -- --template svelte-ts

Install Boox and other dependencies:

npm i && npm i -D -w examples-svelte boox debounce metaphone stemmer stopword @types/stopword

Run the application

1. Start the development server:

npm run dev -w examples-svelte

Open http://localhost:5174 in your browser to see the search app in action.

2. Build for Production:

npm run build -w examples-svelte

Important

Remember to consult the documentation for Boox and other libraries for more advanced usage and configuration options.