@tailor-cms/tce-preview-runtime 0.1.0-beta.2 → 0.1.0-beta.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-cms/tce-preview-runtime",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.6",
4
4
  "dependencies": {
5
5
  "@mdi/font": "7.2.96",
6
6
  "@vitejs/plugin-vue": "4.3.4",
@@ -33,10 +33,13 @@ onMounted(() => {
33
33
  direction: 'vertical',
34
34
  sizes: [70, 30],
35
35
  });
36
- setTimeout(() => {
37
- isLoaded.value = true;
38
- if (isFirstBoot) document.location.reload();
39
- }, isFirstBoot ? 25000 : 5000);
36
+ setTimeout(
37
+ () => {
38
+ isLoaded.value = true;
39
+ if (isFirstBoot) document.location.reload();
40
+ },
41
+ isFirstBoot ? 25000 : 5000,
42
+ );
40
43
  });
41
44
  </script>
42
45
 
@@ -3,22 +3,22 @@
3
3
  <div :id="PANELS.EDIT" class="d-flex flex-1-1-50">
4
4
  <iframe
5
5
  :key="`author-${isLoaded ? new Date().getTime() : 0}`"
6
+ class="flex-1-1-100"
6
7
  frameBorder="0"
7
8
  sandbox="allow-scripts"
8
9
  src="http://localhost:8010"
9
10
  title="Edit component container"
10
- class="flex-1-1-100"
11
11
  >
12
12
  </iframe>
13
13
  </div>
14
14
  <div :id="PANELS.DISPLAY" class="d-flex flex-1-1-50">
15
15
  <iframe
16
16
  :key="`display-${isLoaded ? new Date().getTime() : 0}`"
17
+ class="flex-1-1-100"
17
18
  frameBorder="0"
18
19
  sandbox="allow-scripts"
19
20
  src="http://localhost:8020"
20
21
  title="Display component container"
21
- class="flex-1-1-100"
22
22
  >
23
23
  </iframe>
24
24
  </div>
package/vite.config.ts CHANGED
@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue';
3
3
  import vuetify from 'vite-plugin-vuetify';
4
4
 
5
5
  // https://vitejs.dev/config/
6
- export default defineConfig(({ mode }): any => {
6
+ export default defineConfig((): any => {
7
7
  return {
8
8
  root: './src',
9
9
  server: {