This plugin provides the code for all optional third-party frontend libraries used by NexT. By default, NexT loads these libraries via CDN. However, in some cases, these CDNs may be unavailable (e.g., when the site is deployed in an intranet environment without internet access). In such situations, by installing this plugin and configuring the theme accordingly, Hexo can bundle the library code into the generated blog files, enabling offline deployment.
npm install @next-theme/plugins
First execute the following command in Hexo site root directory to ensure that the plugin is installed correctly.
npm install
If the warning persists, then the solution depends on how you installed NexT.
-
Installed NexT through npm: Make sure the version numbers of
@next-theme/plugins
andhexo-theme-next
are the same. -
Installed NexT through git:
- If you are using the latest master branch: Ignore this warning.
- If you are using the latest release version:
Make sure the version numbers of
@next-theme/plugins
andhexo-theme-next
are the same.
Feel free to raise new issues you find in this plugin.