initial commit
This commit is contained in:
23
front/src/App.vue
Normal file
23
front/src/App.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<img alt="Vue logo" src="./assets/logo.png">
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
}
|
||||
}
|
||||
</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>
|
||||
BIN
front/src/assets/logo.png
Normal file
BIN
front/src/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
19
front/src/main.js
Normal file
19
front/src/main.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
const routes = [
|
||||
// { path: '/', component: Home },
|
||||
// { path: '/about', component: About },
|
||||
]
|
||||
|
||||
const router = VueRouter.createRouter({
|
||||
history: VueRouter.createWebHashHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
const app = Vue.createApp({});
|
||||
app.use(router);
|
||||
|
||||
app.mount('#app');
|
||||
|
||||
createApp(App).mount('#app')
|
||||
Reference in New Issue
Block a user