imports html replaced by ES6 modules

This commit is contained in:
Gaelle Morin 2019-01-04 23:26:24 +01:00 committed by jblemee
parent 330920f407
commit c8d71dec53

View File

@ -29,11 +29,15 @@ link(href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,6
// Web components
//- local
//link(rel='import', href='/lib/sib-core/sib-display.html')
// link(rel='import', href='/lib/sib-router/sib-router.html')
// link(rel='import', href='/lib/sib-chat/sib-chat.html')
//- link(rel='import', href='/lib/sib-core/sib-display.html')
//- link(rel='import', href='/lib/sib-router/sib-router.html')
//- link(rel='import', href='/lib/sib-chat/sib-chat.html')
//- cdn
link(rel='import', href="https://cdn.happy-dev.fr/sib-core/sib-display.html")
link(rel='import', href="https://cdn.happy-dev.fr/sib-router/sib-router.html")
link(rel='import', href="https://cdn.happy-dev.fr/sib-chat/sib-chat.html")
<script type='module' src='https://cdn.happy-dev.fr/sib-core/sib-display.js'></script>
<script type='module' src='https://cdn.happy-dev.fr/sib-router/sib-router.js'></script>
<script type='module' src='https://cdn.happy-dev.fr/sib-chat/sib-chat.js'></script>
<script type='module' src='https://cdn.happy-dev.fr/sib-chat/sib-form.js'></script>
//- link(rel='import', href="https://cdn.happy-dev.fr/sib-core/sib-display.html")
//- link(rel='import', href="https://cdn.happy-dev.fr/sib-router/sib-router.html")
//- link(rel='import', href="https://cdn.happy-dev.fr/sib-chat/sib-chat.html")