Skip to content

Commit 52d8d36

Browse files
Julia BakerinkJulia Bakerink
authored andcommitted
Updated CopyExportProject to cater to export component. Determined bug in exporting project does not exist. Coauthored: Julia Bakerink/Megan Nadkarni
1 parent 40782e6 commit 52d8d36

File tree

10 files changed

+158
-239
lines changed

10 files changed

+158
-239
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

Test3/src/App.vue

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div id="app">
3+
<div id="nav">
4+
<router-link to="/">HomeView</router-link>
5+
<router-view></router-view>
6+
</div>
7+
</div>
8+
</template>
9+
10+
<style scoped>
11+
#app {
12+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
13+
-webkit-font-smoothing: antialiased;
14+
-moz-osx-font-smoothing: grayscale;
15+
text-align: center;
16+
color: #2C3E50;
17+
margin-top: 60px;
18+
}
19+
</style>

Test3/src/components/Test.vue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<div>
3+
<div></div>
4+
</div>
5+
</template>
6+
7+
<script>
8+
9+
export default {
10+
name: 'Test',
11+
components: {
12+
},
13+
};
14+
</script>
15+
16+
<style scoped>
17+
</style>

Test3/src/components/Test2.vue

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<template>
2+
<div>
3+
</div>
4+
</template>
5+
6+
<script>
7+
8+
export default {
9+
name: 'Test2',
10+
components: {
11+
},
12+
};
13+
</script>
14+
15+
<style scoped>
16+
</style>
File renamed without changes.

Test3/src/router.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { createRouter, createWebHistory } from 'vue-router'
2+
import HomeView from './views/HomeView.vue'
3+
export default createRouter({
4+
history: createWebHistory(),
5+
base: process.env.BASE_URL,
6+
routes: [
7+
{
8+
path: '/',
9+
name:'HomeView',
10+
component:HomeView
11+
},
12+
]
13+
})

Test3/src/views/HomeView.vue

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<template>
2+
<div>
3+
</div>
4+
</template>
5+
6+
<script>
7+
import Test from '@/components/Test.vue';
8+
import Test2 from '@/components/Test2.vue';
9+
10+
export default {
11+
name: 'HomeView',
12+
components: {
13+
Test,
14+
Test2,
15+
}
16+
};
17+
</script>
18+
19+
<style scoped>
20+
</style>

0 commit comments

Comments
 (0)