@storecraft/dashboard 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,10 +6,17 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Storecraft - Next Gen Commerce-As-Code</title>
8
8
  <script
9
- id='_storecraft_script_' type='text/javascript'
10
- async="false" defer="false" src="index.umd.cjs" >
9
+ id='_storecraft_script_'
10
+ type="module"
11
+ async="false" defer="false" sssrc="./index2.mjs" >
12
+ import {mountStorecraftDashboard} from './index2.mjs';
13
+ mountStorecraftDashboard(
14
+ document.getElementById('root'), false
15
+ )
16
+
11
17
  </script>
12
- <script type='text/javascript'>
18
+ <!-- <script type='text/javascript' async="false" defer="false">
19
+
13
20
  console.log('StorecraftDashboard')
14
21
 
15
22
  var script = document.querySelector('#_storecraft_script_');
@@ -19,11 +26,11 @@
19
26
  function() {
20
27
  window.StorecraftDashboard.mountStorecraftDashboard(
21
28
  document.getElementById('root'), false
22
- )
29
+ )
23
30
  }
24
31
  );
25
32
 
26
- </script>
33
+ </script> -->
27
34
  </head>
28
35
  <body>
29
36
  <div id="root"></div>