You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.js 576B

12345678910111213141516
  1. import styles from './../css/main.css';
  2. // NOTE: TO use Jquery, just call the modules you want
  3. // var $ = require('jquery/src/core');
  4. // require('jquery/src/core/init');
  5. // require('jquery/src/manipulation');
  6. // OR, use all of them
  7. // var $ = require('jquery/src/jquery');
  8. // And write your code
  9. // $('body').append('<p>Jquery is working</p>');
  10. //
  11. // You can also "require" any script from its location in the node modules folder. Webpack often knows what to look for, but you can add a script directly like this:
  12. // var javascriptthingy = require('name/folder/file.js');