emersonbottero / vitepress-plugin-search

Provide local search to your documentation site.
MIT License
238 stars 30 forks source link

Cannot find name 'flexSearchIndexOptions' and conflicts with the site theme configuration #53

Closed TeaRed-LeafFall closed 1 year ago

TeaRed-LeafFall commented 1 year ago

Because the error information is too long, I uploaded the error picture. I don't know why. Maybe the problem is caused by another module.

errorphoto

Link

TeaRed-LeafFall commented 1 year ago

image

emersonbottero commented 1 year ago

You should create your own options object If you want to use with default values just don't pass Any parameter to it. commenting line 7 should make it work

TeaRed-LeafFall commented 1 year ago

Thanks for your reply. It's already late here. I will try this method and reply to you tomorrow. Thanks for your reply.

TeaRed-LeafFall commented 1 year ago

An error occurred when configuring vitepress again. errorphoto-2-3 errorphoto-2-2

Link

TeaRed-LeafFall commented 1 year ago

Vscode's git tool is configured to be private by default when uploaded and now has access to my repository.

emersonbottero commented 1 year ago

Remove the options.. SearchPlugin()

TeaRed-LeafFall commented 1 year ago

errorphoto-2-5 There's nothing in the <div id="app"> image image

emersonbottero commented 1 year ago

leave only the config.js file inside .vitepress remove node_modules and package-lock.json npm i npm run docs:dev