summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-08 11:02:48 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-05-08 11:02:48 +0200
commit6305acef3bd25f51b408b38a9f4f11c3040480c5 (patch)
treef8d45885f66ef85eb1bd4079034e8bd72fdba0d3 /src
parent9f12ba674bb824627ceb648e79a2fa7065a1e51d (diff)
downloadbrokentalents-6305acef3bd25f51b408b38a9f4f11c3040480c5.tar.gz
brokentalents-6305acef3bd25f51b408b38a9f4f11c3040480c5.zip
frontend template setup
Diffstat (limited to 'src')
-rw-r--r--src/App.vue14
-rw-r--r--src/index.html10
-rw-r--r--src/index.js12
3 files changed, 36 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
new file mode 100644
index 0000000..3335de9
--- /dev/null
+++ b/src/App.vue
@@ -0,0 +1,14 @@
+<template>
+ <h1>{{ message }}</h1>
+</template>
+
+<script>
+export default {
+ name: 'app',
+ data() {
+ return {
+ message: 'Hello, Vue!'
+ };
+ }
+};
+</script>
diff --git a/src/index.html b/src/index.html
new file mode 100644
index 0000000..fd3fe13
--- /dev/null
+++ b/src/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>BrokenTalents</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head>
+ <body>
+ <div id="app"></div>
+ </body>
+</html>
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 0000000..be00b70
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,12 @@
+import Vue from 'vue';
+import Buefy from 'buefy'
+import 'buefy/lib/buefy.css'
+
+import App from './App.vue';
+
+Vue.use(Buefy)
+
+new Vue({
+ el: '#app',
+ render: h => h(App)
+});