Commit 9591e7b3 authored by Andre de Sousa's avatar Andre de Sousa

ADD: folder structure and base files

parent 56b6763a
......@@ -44,7 +44,8 @@ module.exports = function (ctx) {
'QList',
'QItem',
'QItemSection',
'QItemLabel'
'QItemLabel',
'QForm'
],
directives: [
......
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<q-layout view="hHh Lpr fFf">
<h1>aaa {{ endpoint }}</h1>
<div class="row">
<q-form class="col-auto">
<div v-for="field in fields" :key="field.id">
<p>{{field.content}}</p>
<input v-model="field.content" :type="field.type" :id="field.name">
</div>
</q-form>
</div>
</q-layout>
</template>
<script>
export default {
props: ['fields', 'endpoint', 'type'],
data () {
return {
}
},
methods: {
},
beforeMount () {
this.fields = [
{ name: 'asdf', type: 'text', content: '' },
{ name: 'asdf2', type: 'text', content: '' },
{ name: 'asdf3', type: 'text', content: '' },
{ name: 'asdf4', type: 'text', content: '' }
]
}
}
</script>
<style>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
const routes = [
{
path: '/',
path: '/a',
component: () => import('layouts/MyLayout.vue'),
children: [
{ path: '', component: () => import('pages/Index.vue') }
]
},
{
path: '/',
component: () => import('components/form.vue')
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment