Guest User

Untitled

a guest
Apr 23rd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. From theme root using the terminal, install `zoom-vanilla`
  2.  
  3. ```
  4. npm install --save zoom-vanilla.js
  5. ```
  6.  
  7. In `assets/sass/vendor_all.scss` file, replace
  8.  
  9. ```
  10. @import '../../bower_components/zoom.js/css/zoom';
  11. ```
  12.  
  13. with
  14.  
  15. ```
  16. @import '../../node_modules/zoom-vanilla.js/dist/zoom';
  17. ```
  18.  
  19. In `gulpfile.js` replace
  20.  
  21. ```
  22. './bower_components/zoom.js/dist/zoom.js',
  23. ```
  24.  
  25. with
  26.  
  27. ```
  28. './node_modules/zoom-vanilla.js/dist/zoom-vanilla.min.js',
  29. ```
  30.  
  31. Run `gulp` command to compile the assests
Add Comment
Please, Sign In to add comment