Merge pull request #175 from Oliver-Akins/feature/incrementer-component
Custom Web Components
This commit is contained in:
commit
118dcfb71c
16 changed files with 543 additions and 63 deletions
|
|
@ -32,6 +32,7 @@ import * as hbs from "./handlebars.mjs";
|
|||
import "./hooks/hotReload.mjs";
|
||||
|
||||
// Misc Imports
|
||||
import { registerCustomComponents } from "./components/index.mjs";
|
||||
import loadSettings from "./settings/index.mjs";
|
||||
import { devInit } from "./hooks/devInit.mjs";
|
||||
import DOTDUNGEON from "./config.mjs";
|
||||
|
|
@ -108,8 +109,9 @@ Hooks.once(`init`, async () => {
|
|||
|
||||
hbs.registerHandlebarsHelpers();
|
||||
hbs.preloadHandlebarsTemplates();
|
||||
registerCustomComponents();
|
||||
|
||||
CONFIG.CACHE = {};
|
||||
CONFIG.CACHE ??= {};
|
||||
CONFIG.CACHE.icons = await hbs.preloadIcons();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue