Added simple single page ajax handling for a links.

This commit is contained in:
Jan Böhmer 2019-03-24 19:55:39 +01:00
parent ca8ef1d5bd
commit b3db1dd139
8 changed files with 325 additions and 63 deletions

View file

@ -6,6 +6,7 @@
*/
// any CSS you require will output into a single css file (app.css in this case)
require('../css/app.css');
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
@ -44,4 +45,12 @@ window.$ = window.jQuery = require("jquery");
require('bootstrap-treeview/src/js/bootstrap-treeview');
require('../ts_src/ajax_ui');
import {ajaxUI} from "../ts_src/ajax_ui";
window.ajaxUI = ajaxUI;
//Start AjaxUI
$(document).ready(ajaxUI.start());
//console.log('Hello Webpack Encore! Edit me in assets/js/app.js');