summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.vue11
-rw-r--r--src/assets/logo.pngbin0 -> 6849 bytes
-rw-r--r--src/main.js15
-rw-r--r--src/router/index.js22
-rw-r--r--src/sass/main.sass0
-rw-r--r--src/store/index.js15
-rw-r--r--src/views/Home.vue10
7 files changed, 73 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
new file mode 100644
index 0000000..4199600
--- /dev/null
+++ b/src/App.vue
@@ -0,0 +1,11 @@
+<template>
+ <div id="app">
+ <router-view/>
+ </div>
+</template>
+
+<style lang="sass">
+@import 'node_modules/bootstrap/scss/bootstrap.scss'
+@import 'node_modules/bootstrap-vue/src/index.scss'
+@import "./sass/main.sass"
+</style>
diff --git a/src/assets/logo.png b/src/assets/logo.png
new file mode 100644
index 0000000..f3d2503
--- /dev/null
+++ b/src/assets/logo.png
Binary files differ
diff --git a/src/main.js b/src/main.js
new file mode 100644
index 0000000..1329a63
--- /dev/null
+++ b/src/main.js
@@ -0,0 +1,15 @@
+import Vue from 'vue';
+import App from './App.vue';
+import router from './router';
+import store from './store';
+
+import { BootstrapVue } from 'bootstrap-vue';
+
+Vue.config.productionTip = false;
+Vue.use(BootstrapVue);
+
+new Vue({
+ router,
+ store,
+ render: h => h(App)
+}).$mount('#app')
diff --git a/src/router/index.js b/src/router/index.js
new file mode 100644
index 0000000..5dc4e51
--- /dev/null
+++ b/src/router/index.js
@@ -0,0 +1,22 @@
+import Vue from 'vue'
+import VueRouter from 'vue-router'
+
+import Home from '@/views/Home.vue'
+
+Vue.use(VueRouter)
+
+const routes = [
+ {
+ path: '/',
+ name: 'Home',
+ component: Home,
+ }
+]
+
+const router = new VueRouter({
+ mode: 'history',
+ base: process.env.BASE_URL,
+ routes
+})
+
+export default router
diff --git a/src/sass/main.sass b/src/sass/main.sass
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/sass/main.sass
diff --git a/src/store/index.js b/src/store/index.js
new file mode 100644
index 0000000..332b916
--- /dev/null
+++ b/src/store/index.js
@@ -0,0 +1,15 @@
+import Vue from 'vue'
+import Vuex from 'vuex'
+
+Vue.use(Vuex)
+
+export default new Vuex.Store({
+ state: {
+ },
+ mutations: {
+ },
+ actions: {
+ },
+ modules: {
+ }
+})
diff --git a/src/views/Home.vue b/src/views/Home.vue
new file mode 100644
index 0000000..17ab4d0
--- /dev/null
+++ b/src/views/Home.vue
@@ -0,0 +1,10 @@
+<template lang="pug">
+ main
+ h1 Hello
+</template>
+
+<script>
+export default {
+ name: "Home",
+}
+</script>