mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
eslint & prettier update; api fetching from static server
This commit is contained in:
+9
-8
@@ -5,28 +5,29 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
import { useStore } from "./store";
|
||||
import ImageFullscreenPreview from "./components/utils/ImageFullscreenPreview.vue";
|
||||
import AppContainerView from "./views/AppContainerView.vue";
|
||||
import AppModals from "./components/app/AppModals.vue";
|
||||
import { defineComponent } from 'vue';
|
||||
import { useStore } from './store';
|
||||
import ImageFullscreenPreview from './components/utils/ImageFullscreenPreview.vue';
|
||||
import AppContainerView from './views/AppContainerView.vue';
|
||||
import AppModals from './components/app/AppModals.vue';
|
||||
|
||||
export default defineComponent({
|
||||
components: { ImageFullscreenPreview, AppContainerView, AppModals },
|
||||
data() {
|
||||
return {
|
||||
store: useStore(),
|
||||
};
|
||||
},
|
||||
|
||||
async created() {
|
||||
this.store.fetchStockInfoData();
|
||||
this.store.handleRouting();
|
||||
this.store.setupAPIData();
|
||||
},
|
||||
components: { ImageFullscreenPreview, AppContainerView, AppModals },
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "./styles/global.scss";
|
||||
@import './styles/global.scss';
|
||||
|
||||
/* APP */
|
||||
#app {
|
||||
|
||||
Reference in New Issue
Block a user