mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Migracja projektu z React na Vue
This commit is contained in:
+12
-2
@@ -1,15 +1,25 @@
|
||||
<template>
|
||||
<div class="home">Hello Vue!</div>
|
||||
<div class="home">
|
||||
<List />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Vue, Component } from "vue-property-decorator";
|
||||
|
||||
@Component
|
||||
import List from "@/components/ui/List.vue";
|
||||
|
||||
@Component({
|
||||
components: { List }
|
||||
})
|
||||
export default class Home extends Vue {
|
||||
mounted() {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.home {
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user