├── ionic ├── src │ ├── pages │ │ ├── Home.css │ │ └── Home.tsx │ ├── react-app-env.d.ts │ ├── App.test.tsx │ ├── setupTests.ts │ ├── index.tsx │ ├── App.tsx │ ├── serviceWorker.ts │ └── theme │ │ └── variables.css ├── public │ ├── assets │ │ ├── icon │ │ │ ├── icon.png │ │ │ └── favicon.png │ │ └── shapes.svg │ ├── manifest.json │ └── index.html ├── ionic.config.json ├── capacitor.config.json ├── .gitignore ├── tsconfig.json └── package.json ├── preact ├── src │ ├── components │ │ ├── header │ │ │ ├── style.css │ │ │ └── index.js │ │ └── app.js │ ├── assets │ │ ├── favicon.ico │ │ └── icons │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── mstile-150x150.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ ├── index.js │ ├── routes │ │ ├── 404 │ │ │ ├── style.css │ │ │ └── index.js │ │ ├── home │ │ │ ├── style.css │ │ │ └── index.js │ │ ├── geolocation │ │ │ └── index.js │ │ └── camera │ │ │ └── index.js │ ├── manifest.json │ └── style │ │ └── index.css ├── capacitor.config.json ├── public │ └── index.html ├── package.json ├── .gitignore └── README.md ├── vuejs-vuetify ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── img │ │ └── icons │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── mstile-150x150.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ ├── android-chrome-512x512.png │ │ │ ├── apple-touch-icon-60x60.png │ │ │ ├── apple-touch-icon-76x76.png │ │ │ ├── apple-touch-icon-120x120.png │ │ │ ├── apple-touch-icon-152x152.png │ │ │ ├── apple-touch-icon-180x180.png │ │ │ ├── msapplication-icon-144x144.png │ │ │ ├── android-chrome-maskable-192x192.png │ │ │ ├── android-chrome-maskable-512x512.png │ │ │ └── safari-pinned-tab.svg │ └── index.html ├── .browserslistrc ├── vue.config.js ├── babel.config.js ├── src │ ├── shims-vue.d.ts │ ├── plugins │ │ └── vuetify.ts │ ├── store │ │ └── index.ts │ ├── App.vue │ ├── shims-tsx.d.ts │ ├── router │ │ └── index.ts │ ├── main.ts │ ├── registerServiceWorker.ts │ ├── components │ │ └── DeviceInfoCard.vue │ └── views │ │ └── Home.vue ├── README.md ├── capacitor.config.json ├── .gitignore ├── .eslintrc.js ├── tsconfig.json └── package.json ├── svelte-framework7 ├── src │ ├── css │ │ ├── app.scss │ │ └── icons.css │ ├── static │ │ └── icons │ │ │ ├── 128x128.png │ │ │ ├── 144x144.png │ │ │ ├── 152x152.png │ │ │ ├── 192x192.png │ │ │ ├── 256x256.png │ │ │ ├── 512x512.png │ │ │ ├── favicon.png │ │ │ └── apple-touch-icon.png │ ├── fonts │ │ ├── MaterialIcons-Regular.eot │ │ ├── MaterialIcons-Regular.ttf │ │ ├── MaterialIcons-Regular.woff │ │ ├── Framework7Icons-Regular.eot │ │ ├── Framework7Icons-Regular.ttf │ │ ├── Framework7Icons-Regular.woff │ │ ├── Framework7Icons-Regular.woff2 │ │ └── MaterialIcons-Regular.woff2 │ ├── pages │ │ ├── 404.svelte │ │ └── home.svelte │ ├── js │ │ ├── routes.js │ │ └── app.js │ ├── components │ │ └── app.svelte │ └── index.html ├── postcss.config.js ├── assets-src │ ├── web-icon.png │ └── apple-touch-icon.png ├── README.md ├── babel.config.js ├── capacitor.config.json ├── .gitignore ├── framework7.json ├── build │ ├── build.js │ └── webpack.config.js └── package.json ├── material-ui ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── index.html ├── src │ ├── setupTests.js │ ├── App.test.js │ ├── index.css │ ├── index.js │ ├── App.css │ ├── logo.svg │ ├── App.js │ └── serviceWorker.js ├── capacitor.config.json ├── .gitignore ├── package.json └── README.md ├── .github ├── CODEOWNERS ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md └── CODE_OF_CONDUCT.md ├── .gitignore ├── README.md └── LICENSE /ionic/src/pages/Home.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /preact/src/components/header/style.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vuejs-vuetify/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /svelte-framework7/src/css/app.scss: -------------------------------------------------------------------------------- 1 | /* Your app custom styles here */ -------------------------------------------------------------------------------- /ionic/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /vuejs-vuetify/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /vuejs-vuetify/vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | transpileDependencies: ["vuetify"] 3 | }; 4 | -------------------------------------------------------------------------------- /material-ui/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /vuejs-vuetify/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["@vue/cli-plugin-babel/preset"] 3 | }; 4 | -------------------------------------------------------------------------------- /preact/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/favicon.ico -------------------------------------------------------------------------------- /vuejs-vuetify/src/shims-vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.vue" { 2 | import Vue from "vue"; 3 | export default Vue; 4 | } 5 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners 2 | -------------------------------------------------------------------------------- /material-ui/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/material-ui/public/favicon.ico -------------------------------------------------------------------------------- /material-ui/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/material-ui/public/logo192.png -------------------------------------------------------------------------------- /material-ui/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/material-ui/public/logo512.png -------------------------------------------------------------------------------- /svelte-framework7/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | 'postcss-preset-env': {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /vuejs-vuetify/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/favicon.ico -------------------------------------------------------------------------------- /ionic/public/assets/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/ionic/public/assets/icon/icon.png -------------------------------------------------------------------------------- /ionic/ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic", 3 | "integrations": { 4 | "capacitor": {} 5 | }, 6 | "type": "react" 7 | } 8 | -------------------------------------------------------------------------------- /ionic/public/assets/icon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/ionic/public/assets/icon/favicon.png -------------------------------------------------------------------------------- /preact/src/assets/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/favicon-16x16.png -------------------------------------------------------------------------------- /preact/src/assets/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/favicon-32x32.png -------------------------------------------------------------------------------- /preact/src/assets/icons/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/mstile-150x150.png -------------------------------------------------------------------------------- /svelte-framework7/assets-src/web-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/assets-src/web-icon.png -------------------------------------------------------------------------------- /preact/src/assets/icons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/apple-touch-icon.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/128x128.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/144x144.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/152x152.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/192x192.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/256x256.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/512x512.png -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/favicon.png -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributing to this project 3 | 4 | Describe the steps a developer should go through in order to contribute to this project 5 | -------------------------------------------------------------------------------- /svelte-framework7/assets-src/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/assets-src/apple-touch-icon.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/favicon-16x16.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/favicon-32x32.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/mstile-150x150.png -------------------------------------------------------------------------------- /preact/src/assets/icons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/android-chrome-192x192.png -------------------------------------------------------------------------------- /preact/src/assets/icons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/preact/src/assets/icons/android-chrome-512x512.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon.png -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/MaterialIcons-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/MaterialIcons-Regular.eot -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/MaterialIcons-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/MaterialIcons-Regular.ttf -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/MaterialIcons-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/MaterialIcons-Regular.woff -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/Framework7Icons-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/Framework7Icons-Regular.eot -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/Framework7Icons-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/Framework7Icons-Regular.ttf -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/Framework7Icons-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/Framework7Icons-Regular.woff -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/Framework7Icons-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/Framework7Icons-Regular.woff2 -------------------------------------------------------------------------------- /svelte-framework7/src/fonts/MaterialIcons-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/fonts/MaterialIcons-Regular.woff2 -------------------------------------------------------------------------------- /svelte-framework7/src/static/icons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/svelte-framework7/src/static/icons/apple-touch-icon.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/android-chrome-192x192.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/android-chrome-512x512.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/msapplication-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/msapplication-icon-144x144.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/android-chrome-maskable-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/android-chrome-maskable-192x192.png -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/android-chrome-maskable-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capacitor-community/examples/HEAD/vuejs-vuetify/public/img/icons/android-chrome-maskable-512x512.png -------------------------------------------------------------------------------- /preact/src/index.js: -------------------------------------------------------------------------------- 1 | import './style'; 2 | import App from './components/app'; 3 | 4 | import { defineCustomElements } from '@ionic/pwa-elements/loader'; 5 | defineCustomElements(window); 6 | 7 | export default App; 8 | -------------------------------------------------------------------------------- /preact/src/routes/404/style.css: -------------------------------------------------------------------------------- 1 | .home { 2 | padding: 20px; 3 | min-height: 100%; 4 | width: 100%; 5 | } 6 | 7 | .cardHeader { 8 | padding: 16px; 9 | } 10 | 11 | .cardBody { 12 | padding: 16px; 13 | } 14 | -------------------------------------------------------------------------------- /preact/src/routes/home/style.css: -------------------------------------------------------------------------------- 1 | .home { 2 | padding: 20px; 3 | min-height: 100%; 4 | width: 100%; 5 | } 6 | 7 | .cardHeader { 8 | padding: 16px; 9 | } 10 | 11 | .cardBody { 12 | padding: 16px; 13 | } 14 | -------------------------------------------------------------------------------- /vuejs-vuetify/src/plugins/vuetify.ts: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | // eslint-disable-next-line 3 | // @ts-ignore 4 | import Vuetify from "vuetify/lib"; 5 | 6 | Vue.use(Vuetify); 7 | 8 | export default new Vuetify({}); 9 | -------------------------------------------------------------------------------- /vuejs-vuetify/README.md: -------------------------------------------------------------------------------- 1 | # Vuejs with Vuetify Example 2 | A simple Capacitor example app, using VueJS 2 and Vuetify 3 | 4 | 5 | [VueJS Github](https://github.com/vuejs/vue) 6 | 7 | [Vuetify Github](https://github.com/vuetifyjs/vuetify) 8 | -------------------------------------------------------------------------------- /vuejs-vuetify/src/store/index.ts: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import Vuex from "vuex"; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default new Vuex.Store({ 7 | state: {}, 8 | mutations: {}, 9 | actions: {}, 10 | modules: {} 11 | }); 12 | -------------------------------------------------------------------------------- /svelte-framework7/README.md: -------------------------------------------------------------------------------- 1 | # Svelte and Framwork7 Example 2 | A simple Capacitor example app, using Svelte and Framwork7 3 | 4 | 5 | [Framework7 Github](https://github.com/framework7io/framework7/) 6 | 7 | [Svelte Github](https://github.com/sveltejs/svelte) -------------------------------------------------------------------------------- /ionic/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders without crashing', () => { 6 | const { baseElement } = render(); 7 | expect(baseElement).toBeDefined(); 8 | }); 9 | -------------------------------------------------------------------------------- /vuejs-vuetify/public/img/icons/safari-pinned-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /svelte-framework7/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | ['@babel/preset-env', { 4 | modules: false, 5 | }], 6 | ], 7 | plugins: [ 8 | '@babel/plugin-transform-runtime', 9 | '@babel/plugin-syntax-dynamic-import', 10 | ], 11 | }; 12 | -------------------------------------------------------------------------------- /ionic/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom/extend-expect'; 6 | -------------------------------------------------------------------------------- /material-ui/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom/extend-expect'; 6 | -------------------------------------------------------------------------------- /svelte-framework7/src/pages/404.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Sorry 5 | Requested content not found. 6 | 7 | 8 | 11 | -------------------------------------------------------------------------------- /preact/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "com.example.app", 3 | "appName": "preact-example", 4 | "bundledWebRuntime": false, 5 | "npmClient": "npm", 6 | "webDir": "build", 7 | "plugins": { 8 | "SplashScreen": { 9 | "launchShowDuration": 0 10 | } 11 | }, 12 | "cordova": {} 13 | } 14 | -------------------------------------------------------------------------------- /ionic/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "com.capacitorjs.examples.ionic", 3 | "appName": "cap-ionic", 4 | "bundledWebRuntime": false, 5 | "npmClient": "npm", 6 | "webDir": "build", 7 | "plugins": { 8 | "SplashScreen": { 9 | "launchShowDuration": 0 10 | } 11 | }, 12 | "cordova": {} 13 | } 14 | -------------------------------------------------------------------------------- /svelte-framework7/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "com.example.app", 3 | "appName": "capacitor-app", 4 | "bundledWebRuntime": false, 5 | "npmClient": "npm", 6 | "webDir": "www", 7 | "plugins": { 8 | "SplashScreen": { 9 | "launchShowDuration": 0 10 | } 11 | }, 12 | "cordova": {} 13 | } 14 | -------------------------------------------------------------------------------- /vuejs-vuetify/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "com.example.vuejsvuetify", 3 | "appName": "vuejs-vuetify", 4 | "bundledWebRuntime": false, 5 | "npmClient": "npm", 6 | "webDir": "dist", 7 | "plugins": { 8 | "SplashScreen": { 9 | "launchShowDuration": 0 10 | } 11 | }, 12 | "cordova": {} 13 | } 14 | -------------------------------------------------------------------------------- /vuejs-vuetify/src/App.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /material-ui/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "com.capacitorjs.examples.materialui", 3 | "appName": "cap-materialui", 4 | "bundledWebRuntime": false, 5 | "npmClient": "yarn", 6 | "webDir": "build", 7 | "plugins": { 8 | "SplashScreen": { 9 | "launchShowDuration": 0 10 | } 11 | }, 12 | "cordova": {} 13 | } 14 | -------------------------------------------------------------------------------- /material-ui/src/App.test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | const { getByText } = render(); 7 | const linkElement = getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /svelte-framework7/src/js/routes.js: -------------------------------------------------------------------------------- 1 | 2 | import HomePage from '../pages/home.svelte'; 3 | import NotFoundPage from '../pages/404.svelte'; 4 | 5 | var routes = [ 6 | { 7 | path: '/', 8 | component: HomePage, 9 | }, 10 | { 11 | path: '(.*)', 12 | component: NotFoundPage, 13 | }, 14 | ]; 15 | 16 | export default routes; 17 | -------------------------------------------------------------------------------- /vuejs-vuetify/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | pnpm-debug.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /vuejs-vuetify/src/shims-tsx.d.ts: -------------------------------------------------------------------------------- 1 | import Vue, { VNode } from "vue"; 2 | 3 | declare global { 4 | namespace JSX { 5 | // tslint:disable no-empty-interface 6 | interface Element extends VNode {} 7 | // tslint:disable no-empty-interface 8 | interface ElementClass extends Vue {} 9 | interface IntrinsicElements { 10 | [elem: string]: any; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vuejs-vuetify/src/router/index.ts: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import VueRouter, { RouteConfig } from "vue-router"; 3 | import Home from "../views/Home.vue"; 4 | 5 | Vue.use(VueRouter); 6 | 7 | const routes: Array = [ 8 | { 9 | path: "/", 10 | name: "Home", 11 | component: Home 12 | } 13 | ]; 14 | 15 | const router = new VueRouter({ 16 | routes 17 | }); 18 | 19 | export default router; 20 | -------------------------------------------------------------------------------- /material-ui/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /material-ui/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # capacitor 4 | android/ 5 | ios/ 6 | 7 | # dependencies 8 | /node_modules 9 | /.pnp 10 | .pnp.js 11 | 12 | # testing 13 | /coverage 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | .env.local 21 | .env.development.local 22 | .env.test.local 23 | .env.production.local 24 | 25 | npm-debug.log* 26 | yarn-debug.log* 27 | yarn-error.log* 28 | -------------------------------------------------------------------------------- /ionic/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # capacitor 4 | android/ 5 | ios/ 6 | 7 | # dependencies 8 | /node_modules 9 | /.pnp 10 | .pnp.js 11 | 12 | # testing 13 | /coverage 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | .env.local 21 | .env.development.local 22 | .env.test.local 23 | .env.production.local 24 | .vscode 25 | 26 | npm-debug.log* 27 | yarn-debug.log* 28 | yarn-error.log* 29 | -------------------------------------------------------------------------------- /ionic/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | import * as serviceWorker from './serviceWorker'; 5 | 6 | ReactDOM.render(, document.getElementById('root')); 7 | 8 | // If you want your app to work offline and load faster, you can change 9 | // unregister() to register() below. Note this comes with some pitfalls. 10 | // Learn more about service workers: https://bit.ly/CRA-PWA 11 | serviceWorker.unregister(); 12 | -------------------------------------------------------------------------------- /vuejs-vuetify/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true 5 | }, 6 | extends: [ 7 | "plugin:vue/essential", 8 | "eslint:recommended", 9 | "@vue/typescript/recommended", 10 | "@vue/prettier", 11 | "@vue/prettier/@typescript-eslint" 12 | ], 13 | parserOptions: { 14 | ecmaVersion: 2020 15 | }, 16 | rules: { 17 | "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", 18 | "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" 19 | } 20 | }; 21 | -------------------------------------------------------------------------------- /ionic/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "Ionic App", 3 | "name": "My Ionic App", 4 | "icons": [ 5 | { 6 | "src": "assets/icon/favicon.png", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "assets/icon/icon.png", 12 | "type": "image/png", 13 | "sizes": "512x512", 14 | "purpose": "maskable" 15 | } 16 | ], 17 | "start_url": ".", 18 | "display": "standalone", 19 | "theme_color": "#ffffff", 20 | "background_color": "#ffffff" 21 | } 22 | -------------------------------------------------------------------------------- /preact/src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "preact-example", 3 | "short_name": "preact-example", 4 | "start_url": "/", 5 | "display": "standalone", 6 | "orientation": "portrait", 7 | "background_color": "#fff", 8 | "theme_color": "#673ab8", 9 | "icons": [ 10 | { 11 | "src": "/assets/icons/android-chrome-192x192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "/assets/icons/android-chrome-512x512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /vuejs-vuetify/src/main.ts: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import _Vue from "vue"; 3 | import App from "./App.vue"; 4 | import "./registerServiceWorker"; 5 | import router from "./router"; 6 | import store from "./store"; 7 | import vuetify from "./plugins/vuetify"; 8 | import VueCapacitorPlugins from 'vue-capacitor'; 9 | 10 | Vue.use(VueCapacitorPlugins); 11 | 12 | Vue.config.productionTip = false; 13 | 14 | new Vue({ 15 | router, 16 | store, 17 | // eslint-disable-next-line 18 | // @ts-ignore 19 | vuetify, 20 | render: h => h(App) 21 | }).$mount("#app"); 22 | -------------------------------------------------------------------------------- /ionic/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "module": "esnext", 16 | "moduleResolution": "node", 17 | "resolveJsonModule": true, 18 | "isolatedModules": true, 19 | "noEmit": true, 20 | "jsx": "react" 21 | }, 22 | "include": [ 23 | "src" 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /material-ui/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /svelte-framework7/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Logs 3 | logs 4 | *.log 5 | npm-debug.log* 6 | yarn-debug.log* 7 | yarn-error.log* 8 | 9 | # Runtime data 10 | pids 11 | *.pid 12 | *.seed 13 | *.pid.lock 14 | 15 | # Dependency directories 16 | node_modules/ 17 | 18 | # Optional npm cache directory 19 | .npm 20 | 21 | # Optional eslint cache 22 | .eslintcache 23 | 24 | # Optional REPL history 25 | .node_repl_history 26 | 27 | # Yarn Integrity file 28 | .yarn-integrity 29 | 30 | # dotenv environment variables file 31 | .env 32 | 33 | www 34 | 35 | # Misc 36 | .DS_Store 37 | Thumbs.db 38 | 39 | 40 | 41 | # Production build 42 | www/ 43 | -------------------------------------------------------------------------------- /preact/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <% preact.title %> 6 | 10 | 11 | 12 | 13 | <% preact.headEnd %> 14 | 15 | 16 | <% preact.bodyEnd %> 17 | 18 | 19 |
Sorry
Requested content not found.