From fae9a94f531e5a63d40e30520747b8182794c5e2 Mon Sep 17 00:00:00 2001 From: jblemee Date: Tue, 8 Jan 2019 15:34:33 +0100 Subject: [PATCH] dev: load local modules before the app --- src/dependencies.pug | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/dependencies.pug b/src/dependencies.pug index 69fc9e6..8f15386 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -15,7 +15,6 @@ script( ) script(src="/scripts/index.js") -script(type="module" src="/scripts/hd-widgets.js") // Stylesheets link(rel='stylesheet', href='/lib/normalize.css') @@ -29,13 +28,16 @@ link(href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,6 // Web components //- local -//script(type="module" src="/lib/sib-core/sib-display.js") -//script(type="module" src="/lib/sib-router/sib-router.js") -//script(type="module" src="/lib/sib-core/sib-form.js") +script(type="module" src="/lib/sib-core/sib-display.js") +script(type="module" src="/lib/sib-router/sib-router.js") +script(type="module" src="/lib/sib-core/sib-form.js") link(rel='import', href='/lib/sib-chat/sib-chat.html') //- cdn -script(type="module" src="https://cdn.happy-dev.fr/sib-core/sib-display.js") -script(type="module" src="https://cdn.happy-dev.fr/sib-router/sib-router.js") -script(type="module" src="https://cdn.happy-dev.fr/sib-core/sib-form.js") +//script(type="module" src="https://cdn.happy-dev.fr/sib-core/sib-display.js") +//script(type="module" src="https://cdn.happy-dev.fr/sib-router/sib-router.js") +//script(type="module" src="https://cdn.happy-dev.fr/sib-core/sib-form.js") + +script(type="module" src="/scripts/hd-widgets.js") +