-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Description
Description
I installed DocSearch using npm in an Angular project and imported the dependencies as mentioned in the doc.

The issue seems to be related to the dependency @docsearch/react
:

Steps to reproduce
- Create Angular project
- Run
npm install @docsearch/js@beta
- Import the dependency in the project and call docsearch()
import docsearch from '@docsearch/js';
import '@docsearch/css';
docsearch({
container: '#docsearch',
appId: 'appId',
indexName: 'index',
apiKey: 'apiKey',
searchParameters: {
facetFilters: ['language:en']
}
});
- See error
Expected behavior
I don't expect any dependency with react deps
Environment
- OS: [macOS]
- DocSearch version: [e.g. 4.0.0-beta.5]
Metadata
Metadata
Assignees
Labels
No labels