Move data
This commit is contained in:
parent
3135d95f5d
commit
56475926de
3 changed files with 43 additions and 30 deletions
src
34
src/App.vue
34
src/App.vue
|
@ -1,16 +1,44 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<environments></environments>
|
||||
<environments :project="projects[0]"></environments>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Environments from './components/Environments.vue'
|
||||
import Environments from './components/Environments'
|
||||
|
||||
export default {
|
||||
name: 'app',
|
||||
components: {
|
||||
Environments
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
projects: [
|
||||
{
|
||||
name: 'Rebuilding Acquia',
|
||||
type: 'Drupal',
|
||||
level: 'Enterprise',
|
||||
environments: {
|
||||
dev: {
|
||||
name: 'Dev',
|
||||
url: 'dev.rebuilding-acquia.com',
|
||||
label: 'develop'
|
||||
},
|
||||
stage: {
|
||||
name: 'Stage',
|
||||
url: 'stg.rebuilding-acquia.com',
|
||||
label: 'master'
|
||||
},
|
||||
prod: {
|
||||
name: 'Prod',
|
||||
url: 'rebuilding-acquia.com',
|
||||
label: 'tags/2018-12-21'
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Reference in a new issue