Skip to content
Snippets Groups Projects
Commit 8e637c1a authored by Adam Procter's avatar Adam Procter
Browse files

Merge branch 'historyMode'

parents 33b7a0b0 db571ffd
Branches shortcuts1
No related tags found
No related merge requests found
<template> <template>
<div> <div>
<!-- FIXME: Maybe need to use $attrs at somepoint --> <!-- FIXME: Maybe need to use $attrs at somepoint -->
<button v-on="$listeners" class="button" :class="buttonClass"> <button v-on="$listeners" class="button" :class="buttonClass" type="button">
<slot>DEFAULT</slot> <slot>DEFAULT</slot>
</button> </button>
</div> </div>
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
nodenogg.in is a nodenogg.in is a
<span>work in progress</span> collaborative co-creation research and <span>work in progress</span> collaborative co-creation research and
design thinking tool, read more details and links in the design thinking tool, read more details and links in the
<a href="/#/about">about</a> section. <a
href="/about"
>about</a> section.
</p> </p>
<form v-show="parta"> <form v-show="parta">
...@@ -25,9 +27,7 @@ ...@@ -25,9 +27,7 @@
autocapitalize="none" autocapitalize="none"
autofocus autofocus
/> />
<BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()" <BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()">+</BaseButton>
>+</BaseButton
>
</form> </form>
<form v-show="partb"> <form v-show="partb">
...@@ -82,8 +82,8 @@ export default { ...@@ -82,8 +82,8 @@ export default {
methods: { methods: {
createMicrocosm() { createMicrocosm() {
;(this.partb = true), this.partb = true
this.$store.dispatch('createMicrocosm', this.localmicrocosm) this.$store.dispatch('createMicrocosm', this.localmicrocosm)
localStorage.setItem('mylastMicrocosm', this.localmicrocosm) localStorage.setItem('mylastMicrocosm', this.localmicrocosm)
}, },
setClient() { setClient() {
......
...@@ -22,6 +22,7 @@ const routes = [ ...@@ -22,6 +22,7 @@ const routes = [
] ]
const router = new VueRouter({ const router = new VueRouter({
mode: 'history',
routes routes
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment