Separate client and server codes. Keep everything in one git repo for simplicity
[vchess.git] / client / src / views / Test.vue
1 <template>
2 <div class="test">
3 <TestComp :vname="variant.name"/>
4 </div>
5 </template>
6
7 <script>
8 // @ is an alias to /src
9 import TestComp from "@/components/TestComp.vue";
10
11 export default {
12 name: "test",
13 components: {
14 TestComp,
15 },
16 data: function() {
17 return {
18 variant: {name: "Atomic", id: 3},
19 };
20 }
21 };
22 </script>