From f4981e4ff282c72220af4f5c4c31accf8cdfd1d1 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Tue, 2 Feb 2021 15:11:59 +0100
Subject: [PATCH] More docs

---
 README.md   | 16 +++++++++++++++-
 src/main.js |  2 --
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 4ca074a..e74f514 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,20 @@ cordova emulate android
 ```
 
 ## Develop the code
+### Don't touch the /www folder!
+Normally in Cordova you would put your code here, but this is where vue-cli is putting the things that it builds. 
+
 ### Main template
-The main layout is based on a very simple template snatched from Bootstrap.
+The main layout is based on a very simple template snatched from Bootstrap. You find it in /html (at the project root level).
+Everything that Vuejs operates on happens inside the `main` element
+
+``` html
+<main id="app" role="main" class="container"></main>
+```
+
+You find all the Vuejs code in the `/src` folder
+
+Looking at /src/main.js, the Vue app is not started until Cordova fires the deviceready event.
+
+The router components (the "pages" in the Single Page Application that you manage) are found in `/src/components`. The router (paths + components definitions) is found in `/src/router/index.js`
 
diff --git a/src/main.js b/src/main.js
index d90b191..0823a9a 100644
--- a/src/main.js
+++ b/src/main.js
@@ -14,10 +14,8 @@ const init = () => {
 	  components: { App },
 	  template: '<App/>',
 	  data: {
-		deviceIsReady: false
 	  },
 	  methods: {
-		
 	  },
 	  created() {
 		console.info("Vue is ready")
-- 
GitLab