Spaces:
Sleeping
Sleeping
Trae Assistant commited on
Commit ·
22633c5
1
Parent(s): 33bcfbb
Fix Vue app initialization and delimiters configuration
Browse files- templates/index.html +5 -2
templates/index.html
CHANGED
|
@@ -330,7 +330,7 @@
|
|
| 330 |
<script>
|
| 331 |
const { createApp, ref, onMounted } = Vue;
|
| 332 |
|
| 333 |
-
createApp({
|
| 334 |
setup() {
|
| 335 |
const currentView = ref('list');
|
| 336 |
const projects = ref([]);
|
|
@@ -489,7 +489,10 @@
|
|
| 489 |
assetLoading
|
| 490 |
};
|
| 491 |
}
|
| 492 |
-
})
|
|
|
|
|
|
|
|
|
|
| 493 |
</script>
|
| 494 |
</body>
|
| 495 |
</html>
|
|
|
|
| 330 |
<script>
|
| 331 |
const { createApp, ref, onMounted } = Vue;
|
| 332 |
|
| 333 |
+
const app = createApp({
|
| 334 |
setup() {
|
| 335 |
const currentView = ref('list');
|
| 336 |
const projects = ref([]);
|
|
|
|
| 489 |
assetLoading
|
| 490 |
};
|
| 491 |
}
|
| 492 |
+
});
|
| 493 |
+
|
| 494 |
+
app.config.compilerOptions.delimiters = ['${', '}'];
|
| 495 |
+
app.mount('#app');
|
| 496 |
</script>
|
| 497 |
</body>
|
| 498 |
</html>
|