Code reorganization
[vchess.git] / client / src / views / Problems.vue
similarity index 97%
rename from client/client_OLD/javascripts/components/problems.js
rename to client/src/views/Problems.vue
index a955292..b7f217d 100644 (file)
@@ -1,3 +1,25 @@
+<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>
 Vue.component('my-problems', {
        props: ["probId","settings"],
        data: function () {