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

Merge branch 'versiondisplay'

parents f4a66514 d9a3d386
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ VUE_APP_COUCH_PASS=yourpassword
Please note we use [PouchDB](https://pouchdb.com/) to talk to CouchDB. This is what enables offline and local first support.
All the internal code should use the GNU Affero General Public [License](LICENSE.md).Any dependancies that are brought into nodenogg.in must have as open a License as possible. Dependancies should be loaded in via Vue.js ui cli.
All the internal code should use the GNU Affero General Public [License](LICENSE).Any dependancies that are brought into nodenogg.in must have as open a License as possible. Dependancies should be loaded in via Vue.js ui cli.
Please Use arrow functions,and as much ES6 as possible. The code should be as neat as possible. However all code should be human understandable. So again verbose is good.
......
......@@ -6,7 +6,7 @@ nodenogg.in is free open source software, built in the open, inclusive by design
# Overarching Guide for Contributions
Contributions to nodenogg.in must abide by the [Delightful Design Manifesto](MANIFESTO.md). More detail on Contributing can be read [here](CONTRIIBUTING.md).
Contributions to nodenogg.in must abide by the [Delightful Design Manifesto](MANIFESTO.md). More detail on Contributing can be read [here](CONTRIBUTING.md).
# Keeping up with nodenogg.in
......
# canvas-10-feb
## Project setup
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn build
```
### Lints and fixes files
```
yarn lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
......@@ -33,6 +33,7 @@ var remote =
const store = new Vuex.Store({
state: {
version: process.env.VUE_APP_VERSION,
localnodeid: '',
global_pos_name: 'positions',
global_con_name: 'connections',
......@@ -91,6 +92,7 @@ const store = new Vuex.Store({
},
GET_ALL_NODES(state) {
console.log(state.deploydate)
pouchdb
.allDocs({
include_docs: true,
......
......@@ -14,7 +14,8 @@
<em>(+ helpers &amp; supporters)</em>
</p>
<h3>version 0.1.0</h3>
<h3>version {{ myVersion }}</h3>
<ul>
<li>
Co-create and contribute ideas, with text, links and attachments with
......@@ -88,3 +89,17 @@
</ul>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'About',
data: function() {
return {}
},
computed: mapState({
myVersion: state => state.version
})
}
</script>
process.env.VUE_APP_VERSION = require('./package.json').version
\ No newline at end of file
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