Skip to content

Commit 3748f81

Browse files
committed
initial commit
0 parents  commit 3748f81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+9907
-0
lines changed

Diff for: .editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

Diff for: .eslintrc.js

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
module.exports = {
2+
root: true,
3+
4+
parserOptions: {
5+
parser: 'babel-eslint',
6+
sourceType: 'module'
7+
},
8+
9+
env: {
10+
browser: true
11+
},
12+
13+
extends: [
14+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
15+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
16+
'plugin:vue/essential',
17+
'@vue/standard'
18+
],
19+
20+
// required to lint *.vue files
21+
plugins: [
22+
'vue'
23+
],
24+
25+
globals: {
26+
'ga': true, // Google Analytics
27+
'cordova': true,
28+
'__statics': true,
29+
'process': true,
30+
'Capacitor': true
31+
},
32+
33+
// add your custom rules here
34+
rules: {
35+
// allow async-await
36+
'generator-star-spacing': 'off',
37+
// allow paren-less arrow functions
38+
'arrow-parens': 'off',
39+
'one-var': 'off',
40+
41+
'import/first': 'off',
42+
'import/named': 'error',
43+
'import/namespace': 'error',
44+
'import/default': 'error',
45+
'import/export': 'error',
46+
'import/extensions': 'off',
47+
'import/no-unresolved': 'off',
48+
'import/no-extraneous-dependencies': 'off',
49+
'prefer-promise-reject-errors': 'off',
50+
51+
// allow console.log during development only
52+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
53+
// allow debugger during development only
54+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
55+
}
56+
}

Diff for: .gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.quasar
2+
.DS_Store
3+
.thumbs.db
4+
node_modules
5+
/dist
6+
/src-cordova/node_modules
7+
/src-cordova/platforms
8+
/src-cordova/plugins
9+
/src-cordova/www
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln

Diff for: .postcssrc.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
plugins: [
5+
// to edit target browsers: use "browserslist" field in package.json
6+
require('autoprefixer')
7+
]
8+
}

Diff for: .stylintrc

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"blocks": "never",
3+
"brackets": "never",
4+
"colons": "never",
5+
"colors": "always",
6+
"commaSpace": "always",
7+
"commentSpace": "always",
8+
"cssLiteral": "never",
9+
"depthLimit": false,
10+
"duplicates": true,
11+
"efficient": "always",
12+
"extendPref": false,
13+
"globalDupe": true,
14+
"indentPref": 2,
15+
"leadingZero": "never",
16+
"maxErrors": false,
17+
"maxWarnings": false,
18+
"mixed": false,
19+
"namingConvention": false,
20+
"namingConventionStrict": false,
21+
"none": "never",
22+
"noImportant": false,
23+
"parenSpace": "never",
24+
"placeholder": false,
25+
"prefixVarsWithDollar": "always",
26+
"quotePref": "single",
27+
"semicolons": "never",
28+
"sortOrder": false,
29+
"stackedProperties": "never",
30+
"trailingWhitespace": "never",
31+
"universal": "never",
32+
"valid": true,
33+
"zeroUnits": "never",
34+
"zIndexNormalize": false
35+
}

Diff for: README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# cross-homepage (cross-home)
2+
3+
A Quasar Framework app
4+
5+
## Install the dependencies
6+
```bash
7+
yarn
8+
```
9+
10+
### Start the app in development mode (hot-code reloading, error reporting, etc.)
11+
```bash
12+
quasar dev
13+
```
14+
15+
### Lint the files
16+
```bash
17+
yarn run lint
18+
```
19+
20+
### Build the app for production
21+
```bash
22+
quasar build
23+
```
24+
25+
### Customize the configuration
26+
See [Configuring quasar.conf.js](https://quasar.dev/quasar-cli/quasar-conf-js).

Diff for: babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@quasar/babel-preset-app'
4+
]
5+
}

Diff for: package.json

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "cross-home",
3+
"version": "0.0.1",
4+
"description": "A Quasar Framework app",
5+
"productName": "cross-homepage",
6+
"cordovaId": "org.cordova.quasar.app",
7+
"capacitorId": "",
8+
"author": "Carsten Bleek <[email protected]>",
9+
"private": true,
10+
"scripts": {
11+
"lint": "eslint --ext .js,.vue src",
12+
"test": "echo \"No test specified\" && exit 0"
13+
},
14+
"dependencies": {
15+
"@quasar/extras": "^1.0.0",
16+
"axios": "^0.18.1",
17+
"quasar": "^1.0.0",
18+
"vue-i18n": "^8.0.0"
19+
},
20+
"devDependencies": {
21+
"@quasar/app": "^1.0.0",
22+
"@vue/eslint-config-standard": "^4.0.0",
23+
"babel-eslint": "^10.0.1",
24+
"eslint": "^5.10.0",
25+
"eslint-loader": "^2.1.1",
26+
"eslint-plugin-vue": "^5.0.0"
27+
},
28+
"engines": {
29+
"node": ">= 8.9.0",
30+
"npm": ">= 5.6.0",
31+
"yarn": ">= 1.6.0"
32+
},
33+
"browserslist": [
34+
"last 1 version, not dead, ie >= 11"
35+
]
36+
}

Diff for: quasar.conf.js

+173
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
// Configuration for your app
2+
// https://quasar.dev/quasar-cli/quasar-conf-js
3+
4+
module.exports = function (ctx) {
5+
return {
6+
// app boot file (/src/boot)
7+
// --> boot files are part of "main.js"
8+
// https://quasar.dev/quasar-cli/cli-documentation/boot-files
9+
boot: [
10+
'i18n',
11+
'axios'
12+
],
13+
14+
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-css
15+
css: [
16+
'app.sass'
17+
],
18+
19+
// https://github.com/quasarframework/quasar/tree/dev/extras
20+
extras: [
21+
// 'ionicons-v4',
22+
// 'mdi-v4',
23+
// 'fontawesome-v5',
24+
// 'eva-icons',
25+
// 'themify',
26+
// 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
27+
28+
'roboto-font', // optional, you are not bound to it
29+
'material-icons' // optional, you are not bound to it
30+
],
31+
32+
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework
33+
framework: {
34+
// iconSet: 'ionicons-v4', // Quasar icon set
35+
// lang: 'de', // Quasar language pack
36+
37+
// Possible values for "all":
38+
// * 'auto' - Auto-import needed Quasar components & directives
39+
// (slightly higher compile time; next to minimum bundle size; most convenient)
40+
// * false - Manually specify what to import
41+
// (fastest compile time; minimum bundle size; most tedious)
42+
// * true - Import everything from Quasar
43+
// (not treeshaking Quasar; biggest bundle size; convenient)
44+
all: 'auto',
45+
46+
components: [],
47+
directives: [],
48+
49+
// Quasar plugins
50+
plugins: []
51+
},
52+
53+
// https://quasar.dev/quasar-cli/cli-documentation/supporting-ie
54+
supportIE: true,
55+
56+
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
57+
build: {
58+
scopeHoisting: true,
59+
// vueRouterMode: 'history',
60+
// showProgress: false,
61+
// gzip: true,
62+
// analyze: true,
63+
// preloadChunks: false,
64+
// extractCSS: false,
65+
66+
// https://quasar.dev/quasar-cli/cli-documentation/handling-webpack
67+
extendWebpack (cfg) {
68+
cfg.module.rules.push({
69+
enforce: 'pre',
70+
test: /\.(js|vue)$/,
71+
loader: 'eslint-loader',
72+
exclude: /node_modules/,
73+
options: {
74+
formatter: require('eslint').CLIEngine.getFormatter('stylish')
75+
}
76+
})
77+
}
78+
},
79+
80+
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
81+
devServer: {
82+
// https: true,
83+
// port: 8080,
84+
open: true // opens browser window automatically
85+
},
86+
87+
// animations: 'all', // --- includes all animations
88+
// https://quasar.dev/options/animations
89+
animations: [],
90+
91+
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
92+
ssr: {
93+
pwa: false
94+
},
95+
96+
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
97+
pwa: {
98+
// workboxPluginMode: 'InjectManifest',
99+
// workboxOptions: {}, // only for NON InjectManifest
100+
manifest: {
101+
// name: 'cross-homepage',
102+
// short_name: 'cross-homepage',
103+
// description: 'A Quasar Framework app',
104+
display: 'standalone',
105+
orientation: 'portrait',
106+
background_color: '#ffffff',
107+
theme_color: '#027be3',
108+
icons: [
109+
{
110+
'src': 'statics/icons/icon-128x128.png',
111+
'sizes': '128x128',
112+
'type': 'image/png'
113+
},
114+
{
115+
'src': 'statics/icons/icon-192x192.png',
116+
'sizes': '192x192',
117+
'type': 'image/png'
118+
},
119+
{
120+
'src': 'statics/icons/icon-256x256.png',
121+
'sizes': '256x256',
122+
'type': 'image/png'
123+
},
124+
{
125+
'src': 'statics/icons/icon-384x384.png',
126+
'sizes': '384x384',
127+
'type': 'image/png'
128+
},
129+
{
130+
'src': 'statics/icons/icon-512x512.png',
131+
'sizes': '512x512',
132+
'type': 'image/png'
133+
}
134+
]
135+
}
136+
},
137+
138+
// https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
139+
cordova: {
140+
// id: 'org.cordova.quasar.app',
141+
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
142+
},
143+
144+
// https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
145+
electron: {
146+
// bundler: 'builder', // or 'packager'
147+
148+
extendWebpack (cfg) {
149+
// do something with Electron main process Webpack cfg
150+
// chainWebpack also available besides this extendWebpack
151+
},
152+
153+
packager: {
154+
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
155+
156+
// OS X / Mac App Store
157+
// appBundleId: '',
158+
// appCategoryType: '',
159+
// osxSign: '',
160+
// protocol: 'myapp://path',
161+
162+
// Windows only
163+
// win32metadata: { ... }
164+
},
165+
166+
builder: {
167+
// https://www.electron.build/configuration/configuration
168+
169+
// appId: 'cross-home'
170+
}
171+
}
172+
}
173+
}

Diff for: src/App.vue

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<template>
2+
<div id="q-app">
3+
<router-view />
4+
</div>
5+
</template>
6+
7+
<script>
8+
export default {
9+
name: 'App'
10+
}
11+
</script>

0 commit comments

Comments
 (0)