Move state initialization from App.vue to main.ts
This commit is contained in:
parent
9c255b5f68
commit
afacdaa3dd
|
@ -1,8 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Table from "./components/Table.vue";
|
import Table from "./components/Table.vue";
|
||||||
import { state } from "./state";
|
|
||||||
|
|
||||||
state.populate()
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import './style.scss'
|
import './style.scss'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
|
import { state } from "./state";
|
||||||
import 'bulma/css/bulma.css'
|
import 'bulma/css/bulma.css'
|
||||||
|
|
||||||
createApp(App).mount('#app')
|
createApp(App).mount('#app')
|
||||||
|
|
||||||
|
state.populate()
|
Loading…
Reference in a new issue