Separate client and server codes. Keep everything in one git repo for simplicity
[vchess.git] / client / src / views / Test.vue
diff --git a/client/src/views/Test.vue b/client/src/views/Test.vue
new file mode 100644 (file)
index 0000000..707f0b7
--- /dev/null
@@ -0,0 +1,22 @@
+<template>
+  <div class="test">
+    <TestComp :vname="variant.name"/>
+  </div>
+</template>
+
+<script>
+// @ is an alias to /src
+import TestComp from "@/components/TestComp.vue";
+
+export default {
+  name: "test",
+  components: {
+    TestComp,
+  },
+       data: function() {
+               return {
+                       variant: {name: "Atomic", id: 3},
+               };
+       }
+};
+</script>