We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5851634 commit 751698eCopy full SHA for 751698e
packages/@vue/cli-ui/src/views/ProjectHome.vue
@@ -2,15 +2,30 @@
2
<div class="project-home page">
3
<ProjectNav/>
4
5
- <div class="content">
+ <div v-if="ready" class="content">
6
<router-view/>
7
</div>
8
9
</template>
10
11
<script>
12
+import PROJECT_CWD_RESET from '../graphql/projectCwdReset.gql'
13
+
14
export default {
- name: 'ProjectHome'
15
+ name: 'ProjectHome',
16
17
+ data () {
18
+ return {
19
+ ready: false
20
+ }
21
+ },
22
23
+ async created () {
24
+ await this.$apollo.mutate({
25
+ mutation: PROJECT_CWD_RESET
26
+ })
27
+ this.ready = true
28
29
}
30
</script>
31
0 commit comments