Started search interface, Added in vue and moved fonts

This commit is contained in:
Dan Brown
2017-04-09 20:59:57 +01:00
parent 37813a223a
commit 1338ae2fc3
36 changed files with 235 additions and 154 deletions

View File

@ -0,0 +1,16 @@
function exists(id) {
return document.getElementById(id) !== null;
}
let vueMapping = {
'search-system': require('./search')
};
Object.keys(vueMapping).forEach(id => {
if (exists(id)) {
let config = vueMapping[id];
config.el = '#' + id;
new Vue(config);
}
});