Closed adarshmadrecha closed 8 months ago
This issue could be because the plugin is specifically looking only at root directory.
So, in order to support srcDir
option, it should be modified to
return await IndexSearch(config.base, options);
I am also facing this same issue. Repo to reproduce this error: https://github.com/icaibook/audittrail
@adarshmadrecha , @pranali98-cpu you are doing something wrong. the base has other function , it only has meaning after deploying the page. is used to handle subdomains.
@pranali98-cpu , your example has the wrong script, when not using the default docs you must specify the origin.
like vitepress dev book.
close this issue if the above fix your problem
Better title of this issue could be "Support for
srcDir
config"Just adding the key
srcDir
in the config will cause the Search component to disappear from the website.