Search code examples
javascripthtmlcssgrapesjs

How to implement GrapesJs


Anyone suggest me or give me proper guide of implementing in my local. this is a guide but i want some more clear guide. because this guide to i am not understanding.

https://www.npmjs.com/package/grapesjs


Solution

  • You can do two things: 1. Use your command prompt, You need to have node and npm latest stable versions installed. Navigate into your folder directory where your project is and run npm i grapesjs wait for a while and then a package.json file should be created check it to see if grapesjs is there then require it in wherever you want to use it.

    1. Go to https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.12.17/grapes.min.js and https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.12.17/css/grapes.min.css download the source code. Link both the css and js files in your index file or where you want to use it. Then go to their documentation site https://github.com/artf/grapesjs/wiki try out an example to see if everything checks out fine