Change dir to NexT directory. There must be layout
, source
, languages
and other directories:
$ cd themes/next
$ ls
_config.yml crowdin.yml docs gulpfile.js languages layout LICENSE.md package.json README.md scripts source
Install module to source/lib
directory:
$ git clone https://github.com/theme-next/theme-next-three source/lib/three
Enable module in NexT _config.yml
file:
three_waves: true
OR
canvas_lines: true
OR
canvas_sphere: true
And, if you wants to use the CDN, then need to set:
vendors:
...
three: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@1/three.min.js
three_waves: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@latest/three-waves.min.js
canvas_lines: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@latest/canvas_lines.min.js
canvas_sphere: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@latest/canvas_sphere.min.js
$ cd themes/next/source/lib/three
$ git pull