-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,13 @@ | ||
<template> | ||
<div> | ||
<img alt="Vue logo" src="./assets/logo.png"> | ||
<Dialogue /> | ||
<div> | ||
<svg-icon icon-class="checkin" style="font-size: 50px; margin-top: 30px;" /> | ||
<div>SVG</div> | ||
</div> | ||
</div> | ||
<router-view /> | ||
</template> | ||
|
||
<script> | ||
import Dialogue from './components/Dialogue' | ||
export default { | ||
name: 'App', | ||
components: { | ||
Dialogue | ||
} | ||
name: 'App' | ||
} | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: 'Avenir', Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin-top: 60px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { createWebHashHistory, createRouter } from 'vue-router' | ||
import routes from './routes' | ||
|
||
const router = createRouter({ | ||
history: createWebHashHistory(), | ||
routes | ||
}) | ||
|
||
export default router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const routes = [ | ||
{ | ||
path: '/', | ||
name: 'root', | ||
component: () => import('@/views/Demo'), | ||
children: [ | ||
|
||
] | ||
} | ||
] | ||
|
||
export default routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<template> | ||
<div> | ||
<img alt="Vue logo" src="~@/assets/logo.png"> | ||
<Dialogue /> | ||
<div> | ||
<svg-icon icon-class="checkin" style="font-size: 50px; margin-top: 30px;" /> | ||
<div>SVG</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Dialogue from '@/components/Dialogue' | ||
export default { | ||
name: 'App', | ||
components: { | ||
Dialogue | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: 'Avenir', Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
} | ||
</style> |