mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added simple single page ajax handling for a links.
This commit is contained in:
parent
ca8ef1d5bd
commit
b3db1dd139
8 changed files with 325 additions and 63 deletions
|
@ -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');
|
Loading…
Add table
Add a link
Reference in a new issue