mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
NOT COMPILING. Init vue setup.
This commit is contained in:
15
frontend/App.vue
Normal file
15
frontend/App.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>hello world</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
9
frontend/index.html
Normal file
9
frontend/index.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Zoff</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
17
frontend/main.js
Normal file
17
frontend/main.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import Vue from 'vue'
|
||||
import VueRouter from 'vue-router'
|
||||
// import router from './routes'
|
||||
// import store from './store'
|
||||
|
||||
import App from './App.vue'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
// store,
|
||||
components: { App },
|
||||
// template: '<App />',
|
||||
render: h => h(App)
|
||||
})
|
||||
Reference in New Issue
Block a user