From eefe7e1c6cc82c01d3da3910f67d57f21b7cf313 Mon Sep 17 00:00:00 2001 From: reinerBa Date: Tue, 3 Jul 2018 09:55:41 +0200 Subject: [PATCH] Make example great again Example works only with vue1, added cdn to this version. --- examples/vue/index.html | 287 +++++++++++++++++++++++----------------- 1 file changed, 167 insertions(+), 120 deletions(-) diff --git a/examples/vue/index.html b/examples/vue/index.html index c00914bd..0ef5bb68 100644 --- a/examples/vue/index.html +++ b/examples/vue/index.html @@ -1,131 +1,178 @@ - - Gun plugin for Vue - - - - - - -
- This is example of simple Vue plugin. It works exatcly same as the Vue instance data property, but the name is gunData.
- The cool part is that every property in the gunData is realtime synced via gunDB to every other page viewer!
- - - - - - -
- Vue instance data: -
{{ $data }}
-
- test
- arr[1]
- obj.a
- deepObj.level1.prop
- deepObj.level1.arr[1]
-
-
-
-
-
-
-
-
- -
-
- + + + +
+ This is example of simple Vue plugin. It works exatcly same as the Vue instance data property, but the name is gunData.
+ The cool part is that every property in the gunData is realtime synced via gunDB to every other page viewer!
+ + + + + + +
+ Vue instance data: +

+        
+ test
+ arr[1]
+ obj.a
+ deepObj.level1.prop
+ deepObj.level1.arr[1]
+
+
+
+
+
+
+
+
+ +
+
+ - - + + +