Practical Hexo by Alex Libby

Practical Hexo by Alex Libby

Author:Alex Libby
Language: eng
Format: epub
ISBN: 9781484260890
Publisher: Apress


2.Next, crack open a Node.js terminal session and enter npm init -y at the prompt and press Enter to generate a package.json file (a standard requirement for all Hexo plugins).

3.Once generated, enter this command at the prompt, to install some ancillary plugins that we will use in our demo:

npm install imagemin-keep-folder image-webp path

I would not recommend doing this step any later unless necessary – Node.js will remove any folder from the node_modules folder that it can't locate an equivalent in the NPM registry. Take a copy of the plugin folder regularly as a backup.

4.Keep the terminal session open, but minimized – we will use it at the end of the demo.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.