Initial Setup

ProposeJS Initialisation methods

Setting up ProposeJS is straightforward. You have three options for including ProposeJS in your project:

Option 1: Using npm

  1. Install PropsoeJS via npm
  2. 
        

    Option 2: Using CDN

  3. Include the ProposeJS script file from CDN by adding the following line to the <head> section of your HTML file:
  4. 
          

    Option 3: Download

  5. Download ProposeJS engine file and upload direct into your project then connent ProposeJS file with your html files .

After including the engine.main.js file, ProposeJS will look for a propose.json file in the root directory where we can define our proposals.

We need to create propose.json file in root directory manually if we include proposeJS using CDN or downloaded engine.min.js file

Directory structure

      your-project/
│
├───index.html
│
├───propose.json
│
└───engine.min.js