Browse Source

added vuex

new-map
Ben Stähli 3 years ago
parent
commit
64429db803
  1. 2
      .editorconfig
  2. 3
      package.json
  3. 1
      src/assets/library.svg
  4. 1
      src/assets/logo.svg
  5. 1
      src/assets/world.svg
  6. 2
      src/main.js
  7. 17
      src/store.js
  8. 2
      src/views/Start.vue
  9. 4
      yarn.lock

2
.editorconfig

@ -15,7 +15,7 @@ insert_final_newline = true
[*.{js,py,sass,scss}]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
# Tab indentation (no size specified)
[Makefile]

3
package.json

@ -14,7 +14,8 @@
"roboto-fontface": "*",
"vue": "^2.5.17",
"vue-router": "^3.0.1",
"vuetify": "^1.2.0"
"vuetify": "^1.2.0",
"vuex": "^3.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.5",

1
src/assets/library.svg
File diff suppressed because it is too large
View File

1
src/assets/logo.svg
File diff suppressed because it is too large
View File

1
src/assets/world.svg
File diff suppressed because it is too large
View File

2
src/main.js

@ -5,6 +5,7 @@ import App from './App.vue'
import router from './router'
import 'roboto-fontface/css/roboto/roboto-fontface.css'
import 'material-design-icons-iconfont/dist/material-design-icons.css'
import store from './store'
Vue.config.productionTip = false
@ -12,5 +13,6 @@ Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')

17
src/store.js

@ -0,0 +1,17 @@
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
},
mutations: {
},
actions: {
}
})

2
src/views/Start.vue

@ -2,7 +2,7 @@
<v-container fluid>
<v-slide-y-transition mode="out-in">
<v-layout column align-center xs-center>
<img src="@/assets/logo.png" alt="Vuetify.js" class="mb-5">
<img src="@/assets/logo.svg" alt="CLISEL Logo" class="mb-5">
<v-btn>Login</v-btn>
or
<v-btn>Create Account</v-btn>

4
yarn.lock

@ -6840,6 +6840,10 @@ vuetify@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-1.3.0.tgz#7f30641ae906f88728dea21da689d02b0a297f41"
vuex@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.1.tgz#e761352ebe0af537d4bb755a9b9dc4be3df7efd2"
watchpack@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"

Loading…
Cancel
Save