NOT COMPILING. Init vue setup.

This commit is contained in:
2019-11-16 17:20:13 +01:00
parent b32710b4d3
commit 1e8770a226
11 changed files with 235 additions and 0 deletions

15
frontend/App.vue Normal file
View 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
View 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
View 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)
})