With this process in place, checking code into the master branch in GitHub will then trigger actions to build and deploy any client or server project associated.
- GitHub repo is already in place
- Local project is already pushed to GitHub
<template> | |
<q-page padding> | |
<q-form class="q-gutter-md" @submit="mxFormSubmit(model)"> | |
<f-field-render | |
v-for="field in fields" | |
:key="field.model" | |
:field="field" | |
:onInput="(value,field) => onInput(value,field)" | |
:model="model" | |
/> |
<script> | |
import moment from 'moment' | |
export default { | |
props: { | |
field: { | |
type: Object, | |
required: true, | |
}, | |
model: { |
export const users = { | |
add: { | |
name: {}, | |
birthdate: {}, | |
gender: {}, | |
}, | |
update: { | |
name: {}, | |
birthdate: {}, | |
gender: {}, |
/* | |
* <field-name>: { | |
* component: '<ui-component-name>', | |
* default: '', // Default value | |
* label: '<field-label>', | |
* model: '<model-field-name>', | |
* fieldOptions: { | |
* attrs: { // Native component attributes | |
* _type: 'password' // Prefix keyword with '_' | |
* }, |
<script> | |
export default { | |
name: 'MyFormField', | |
props: { | |
field: { | |
type: Object, | |
required: true, | |
}, | |
input: { |
import Vue from 'vue' | |
import axios from 'axios' | |
const instance = axios.create({}) | |
instance.defaults.baseURL = process.env.API_BASEURL | |
instance.defaults.headers.common['Accept'] = 'application/json' | |
instance.defaults.headers.common['X-RequesterId'] = 'unknown' | |
instance.defaults.headers.post['Content-Type'] = 'application/json' | |
instance.defaults.headers.patch['Content-Type'] = 'application/json' |
let results = { | |
"07/01/2020": { | |
"9:00 PM": [ | |
{ id: 0, descr: 'Take out the trash' }, | |
{ id: 1, descr: 'Take out the recycle' } | |
] | |
}, | |
"07/06/2020": { | |
"9:00 PM": [ | |
{ id: 2, descr: 'Take out the trash' } |
DTSTART;TZID=America/Chicago:20200628T180000 | |
RRULE:FREQ=MONTHLY;INTERVAL=1;WKST=MO;BYDAY=WE;BYSETPOS=4 |