Updated component import

This commit is contained in:
Sebin Nyshkim 2019-11-03 15:13:57 +01:00
parent 58d832bf17
commit 24c3f245c9

View file

@ -5,17 +5,13 @@
</header> </header>
<h2>Quick info</h2> <h2>Quick info</h2>
<dict-table :collection="getSebinData.generic" :keyHeader="`Key`" :valueHeader="`Value`"></dict-table> <data-table :data="getSebinData.generic" :headers="['Key', 'Value']"></data-table>
<h2>Colors</h2> <h2>Colors</h2>
<dict-table <data-table :data="getSebinData.colors" :headers="['Body Part', 'Color Value (hex)', 'Color']"></data-table>
:collection="getSebinData.colors"
:keyHeader="`Body Part`"
:valueHeader="`Color (hex)`"
></dict-table>
<h2>Penis</h2> <h2>Penis</h2>
<dict-table :collection="getSebinData.penis" :keyHeader="`Key`" :valueHeader="`Value`"></dict-table> <data-table :data="getSebinData.penis" :headers="['Key', 'Value', 'Color']"></data-table>
<h2>Anatomy</h2> <h2>Anatomy</h2>
<p>Sebin is a bipedal plantigrade. His body is mostly covered by red scales with yellow chest plates running from below his chin over his torso all the way down between his legs and underside of his tail. His physique is athletic to muscular. His fingers and toes are equipped sharp black claws. Brown spikes run along his spine down to the tip of his tail. His tail is about one meter in length.</p> <p>Sebin is a bipedal plantigrade. His body is mostly covered by red scales with yellow chest plates running from below his chin over his torso all the way down between his legs and underside of his tail. His physique is athletic to muscular. His fingers and toes are equipped sharp black claws. Brown spikes run along his spine down to the tip of his tail. His tail is about one meter in length.</p>
@ -34,12 +30,12 @@
</template> </template>
<script> <script>
import DictTable from "./components/DictionaryTable.vue"; import DataTable from "./components/DataTable.vue";
export default { export default {
name: "app", name: "app",
components: { components: {
DictTable DataTable
}, },
data() { data() {
return { return {
@ -157,13 +153,13 @@ export default {
}; };
</script> </script>
<style> <style lang="scss">
#app { #app {
font-family: "Avenir", Helvetica, Arial, sans-serif; font-family: "Avenir", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
color: #2c3e50; width: 60em;
margin-top: 60px; margin: auto;
} }
header { header {