- Add name of module in navigation sidebar in
./index.html
- Add new HtmlWebpackPlugin to
./webpack.config.js
- Add import of module .js to
src/index.js
- Add class of module to
src/site.css
to set width of module
$('form').on('submit', doSomething) // Bad
$('.mymodule form').on('submit', doSomething) // Good
$(() => {})
is the same as
$(document).ready(() => {})