-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a117060
Showing
29 changed files
with
5,734 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Chrome >=79 | ||
ChromeAndroid >=79 | ||
Firefox >=70 | ||
Edge >=79 | ||
Safari >=14 | ||
iOS >=14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.DS_Store | ||
node_modules | ||
/coverage | ||
/dist | ||
/ios | ||
/android | ||
|
||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true | ||
}, | ||
'extends': [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended', | ||
'@vue/typescript/recommended' | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2020 | ||
}, | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'vue/no-deprecated-slot-attribute': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Specifies intentionally untracked files to ignore when using Git | ||
# http://git-scm.com/docs/gitignore | ||
|
||
*~ | ||
*.sw[mnpcod] | ||
.tmp | ||
*.tmp | ||
*.tmp.* | ||
*.sublime-project | ||
*.sublime-workspace | ||
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate | ||
$RECYCLE.BIN/ | ||
|
||
*.log | ||
log.txt | ||
npm-debug.log* | ||
|
||
/.idea | ||
/.ionic | ||
/.sass-cache | ||
/.sourcemaps | ||
/.versions | ||
/.vscode/* | ||
!/.vscode/extensions.json | ||
/coverage | ||
/dist | ||
/node_modules | ||
/platforms | ||
/plugins | ||
/www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"ionic.ionic" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { defineConfig } from 'cypress'; | ||
|
||
export default defineConfig({ | ||
e2e: { | ||
supportFile: 'tests/e2e/support/e2e.{js,jsx,ts,tsx}', | ||
specPattern: 'tests/e2e/specs/**/*.cy.{js,jsx,ts,tsx}', | ||
videosFolder: 'tests/e2e/videos', | ||
screenshotsFolder: 'tests/e2e/screenshots', | ||
baseUrl: 'http://localhost:5173', | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
setupNodeEvents(on, config) { | ||
// implement node event listeners here | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Ionic App</title> | ||
|
||
<base href="/" /> | ||
|
||
<meta name="color-scheme" content="light dark" /> | ||
<meta | ||
name="viewport" | ||
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
/> | ||
<meta name="format-detection" content="telephone=no" /> | ||
<meta name="msapplication-tap-highlight" content="no" /> | ||
|
||
<link rel="shortcut icon" type="image/png" href="/favicon.png" /> | ||
|
||
<!-- add to homescreen for ios --> | ||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
<meta name="apple-mobile-web-app-title" content="Ionic App" /> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
</head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
|
||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "authman-app", | ||
"integrations": {}, | ||
"type": "vue-vite" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "authman-app", | ||
"private": true, | ||
"version": "0.0.1", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview", | ||
"test:e2e": "cypress run", | ||
"test:unit": "vitest", | ||
"lint": "eslint ." | ||
}, | ||
"dependencies": { | ||
"@capacitor/app": "5.0.7", | ||
"@capacitor/core": "5.7.2", | ||
"@capacitor/haptics": "5.0.7", | ||
"@capacitor/keyboard": "5.0.8", | ||
"@capacitor/status-bar": "5.0.7", | ||
"@ionic/vue": "^7.0.0", | ||
"@ionic/vue-router": "^7.0.0", | ||
"ionicons": "^7.0.0", | ||
"vue": "^3.3.0", | ||
"vue-router": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"@capacitor/cli": "5.7.2", | ||
"@vitejs/plugin-legacy": "^5.0.0", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vue/eslint-config-typescript": "^12.0.0", | ||
"@vue/test-utils": "^2.3.0", | ||
"cypress": "^13.5.0", | ||
"eslint": "^8.35.0", | ||
"eslint-plugin-vue": "^9.9.0", | ||
"jsdom": "^22.1.0", | ||
"terser": "^5.4.0", | ||
"typescript": "^5.1.6", | ||
"vite": "^5.0.0", | ||
"vitest": "^0.34.6", | ||
"vue-tsc": "^1.0.24" | ||
}, | ||
"description": "An Ionic project" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<ion-app> | ||
<ion-router-outlet /> | ||
</ion-app> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { IonApp, IonRouterOutlet } from '@ionic/vue'; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<template> | ||
<div id="container"> | ||
<strong>{{ name }}</strong> | ||
<p>Explore <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
defineProps({ | ||
name: String, | ||
}); | ||
</script> | ||
|
||
<style scoped> | ||
#container { | ||
text-align: center; | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
#container strong { | ||
font-size: 20px; | ||
line-height: 26px; | ||
} | ||
#container p { | ||
font-size: 16px; | ||
line-height: 22px; | ||
color: #8c8c8c; | ||
margin: 0; | ||
} | ||
#container a { | ||
text-decoration: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { createApp } from 'vue' | ||
import App from './App.vue' | ||
import router from './router'; | ||
|
||
import { IonicVue } from '@ionic/vue'; | ||
|
||
/* Core CSS required for Ionic components to work properly */ | ||
import '@ionic/vue/css/core.css'; | ||
|
||
/* Basic CSS for apps built with Ionic */ | ||
import '@ionic/vue/css/normalize.css'; | ||
import '@ionic/vue/css/structure.css'; | ||
import '@ionic/vue/css/typography.css'; | ||
|
||
/* Optional CSS utils that can be commented out */ | ||
import '@ionic/vue/css/padding.css'; | ||
import '@ionic/vue/css/float-elements.css'; | ||
import '@ionic/vue/css/text-alignment.css'; | ||
import '@ionic/vue/css/text-transformation.css'; | ||
import '@ionic/vue/css/flex-utils.css'; | ||
import '@ionic/vue/css/display.css'; | ||
|
||
/* Theme variables */ | ||
import './theme/variables.css'; | ||
|
||
const app = createApp(App) | ||
.use(IonicVue) | ||
.use(router); | ||
|
||
router.isReady().then(() => { | ||
app.mount('#app'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { createRouter, createWebHistory } from '@ionic/vue-router'; | ||
import { RouteRecordRaw } from 'vue-router'; | ||
import TabsPage from '../views/TabsPage.vue' | ||
|
||
const routes: Array<RouteRecordRaw> = [ | ||
{ | ||
path: '/', | ||
redirect: '/tabs/tab1' | ||
}, | ||
{ | ||
path: '/tabs/', | ||
component: TabsPage, | ||
children: [ | ||
{ | ||
path: '', | ||
redirect: '/tabs/tab1' | ||
}, | ||
{ | ||
path: 'tab1', | ||
component: () => import('@/views/Tab1Page.vue') | ||
}, | ||
{ | ||
path: 'tab2', | ||
component: () => import('@/views/Tab2Page.vue') | ||
}, | ||
{ | ||
path: 'tab3', | ||
component: () => import('@/views/Tab3Page.vue') | ||
} | ||
] | ||
} | ||
] | ||
|
||
const router = createRouter({ | ||
history: createWebHistory(import.meta.env.BASE_URL), | ||
routes | ||
}) | ||
|
||
export default router |
Oops, something went wrong.