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

@ -18,6 +18,7 @@ Encore
* and one CSS file (e.g. app.css) if you JavaScript imports CSS.
*/
.addEntry('app', './assets/js/app.js')
//.addEntry('ajaxUI', './assets/ts_src/ajax_ui.ts')
//.addEntry('page1', './assets/js/page1.js')
//.addEntry('page2', './assets/js/page2.js')
@ -45,7 +46,7 @@ Encore
//.enableSassLoader()
// uncomment if you use TypeScript
//.enableTypeScriptLoader()
.enableTypeScriptLoader()
// uncomment if you're having problems with a jQuery plugin
.autoProvidejQuery()