vue-poc/README.md

34 lines
621 B
Markdown
Raw Normal View History

2021-01-13 20:14:23 +00:00
# Vue-poc
2017-05-22 14:27:25 +01:00
2021-01-13 20:14:23 +00:00
An experiment using https://vuetifyjs.com/en/ as UI for BaseX
2017-05-22 14:27:25 +01:00
Includes:
2020-04-12 13:16:27 +01:00
2017-05-22 14:27:25 +01:00
* material design (using `vuetify`)
* ace editor
2017-07-27 21:44:30 +01:00
* localforage for persistence
2021-01-13 20:14:23 +00:00
## Topics
* [Basex requirements](doc/basex.md)
* [Testing](doc/testing.md)
* [Vuetify](doc/vuetify.md)
* [data](doc/data.md)
2020-10-22 22:19:51 +01:00
### Other
2021-01-08 17:20:58 +00:00
Global `settings` provides `getItem(name)` and `setItem(name,value)`
2017-07-27 21:44:30 +01:00
Example usage
```
created: function () {
settings.getItem('settings/ace')
.then((v)=>{
this.ace=v
})
},
watch: {"ace":{
handler:function(v){
settings.setItem('settings/ace',this.ace)
},
deep:true
}
2019-01-24 10:47:38 +00:00
```
##