/JotForm_Widget_ES6_Boilerplate

This boilerplate enables developers to write JotForm widgets using ES6 syntax and Eslint with ease.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

JotForm_Widget_ES6_Boilerplate

This boilerplate enables developers to write JotForm widgets using ES6 syntax and Eslint with ease.

How to use it?

  1. Install npm and git if you haven't already.
  2. Go to your workplace directory using command line and enter git clone https://github.com/yigitusta9/JotForm_Widget_ES6_Boilerplate.git
  3. Enter JotForm_Widget_ES6_Boilerplate folder.
  4. Run npm install to download all dependencies.
  5. Run npm start to view output on your browser, you will see changes as you save your .js files.
  6. When you are done, hit Ctrl+C on command line to close development server.
  7. Run npm run build to save production build files.
  8. Upload index.html file and dist folder to your web server.
  9. Follow from Step 2 at https://developers.jotform.com/widgets

Note: If your widget is not displaying, you should connect to your web server using https protocol, if you don't have https enabled on your website, change https to http at your published form page and your widgets will be displayed.

You are very welcome to make a pull request to this repo for further improvements.