After git pull:
npm install
npx cap sync
ionic capacitor run android -l| // Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| // http://creativecommons.org/publicdomain/zero/1.0/ | |
| (function (win, doc) { | |
| 'use strict'; | |
| if (!win.XMLHttpRequest || !win.FormData || !win.addEventListener || !doc.querySelectorAll) { | |
| // doesn't cut the mustard. | |
| return; | |
| } | |
| function hijaxForm (formElement) { | |
| var progressBar; |
| const fs = require('fs'); | |
| const express = require('express'); | |
| const bodyParser = require('body-parser'); | |
| const cors = require('cors'); | |
| const port = 3000; | |
| const fileName = './todos.json'; | |
| const app = express(); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>Page Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <script src="lib/vue.js"></script> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>Page Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <script src="lib/vue.js"></script> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>My App</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <script src="lib/vue.js"></script> | |
| <!-- <script src="https://cdn.jsdelivr.net/npm/vue-router/dist/vue-router.js"></script> --> | |
| </head> |
| export default { | |
| template: `<div>About My Site</div>` | |
| }; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>My App</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <script src="lib/vue.js"></script> | |
| <script src="lib/vue-router.js"></script> | |
| </head> |
| <template> | |
| <div class="container"> | |
| <p v-if="isLoading" class="loading">Posts loading...</p> | |
| <template v-else> | |
| <div class="topbar" :class="{ open: pageOffset > 120 }"> | |
| <div class="container content"> | |
| <h3>User #{{ id }} posts</h3> | |
| <span class="count">{{ count }} items</span> | |
| </div> | |
| </div> |
| <template> | |
| <div class="container"> | |
| <p v-if="isLoading" class="loading">Posts loading...</p> | |
| <template v-else> | |
| <div class="topbar" :class="{ open: pageOffset > 120 }"> | |
| <div class="container content"> | |
| <h3>User #{{ id }} posts</h3> | |
| <span class="count">{{ count }} items</span> | |
| </div> | |
| </div> |