bomiot 0.2.2__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bomiot-0.2.2 → bomiot-0.2.4}/PKG-INFO +1 -1
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/urls.py +1 -1
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/urls.py +12 -3
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/views.py +8 -0
- bomiot-0.2.4/bomiot/templates/.editorconfig +9 -0
- bomiot-0.2.4/bomiot/templates/.eslintignore +7 -0
- bomiot-0.2.4/bomiot/templates/.eslintrc.cjs +65 -0
- bomiot-0.2.4/bomiot/templates/.gitignore +33 -0
- bomiot-0.2.4/bomiot/templates/.npmrc +5 -0
- bomiot-0.2.4/bomiot/templates/.vscode/extensions.json +15 -0
- bomiot-0.2.4/bomiot/templates/.vscode/settings.json +15 -0
- bomiot-0.2.4/bomiot/templates/README.md +41 -0
- bomiot-0.2.4/bomiot/templates/index.html +21 -0
- bomiot-0.2.4/bomiot/templates/jsconfig.json +39 -0
- bomiot-0.2.4/bomiot/templates/package.json +40 -0
- bomiot-0.2.4/bomiot/templates/postcss.config.cjs +27 -0
- bomiot-0.2.4/bomiot/templates/public/favicon.ico +0 -0
- bomiot-0.2.4/bomiot/templates/public/icons/favicon-128x128.png +0 -0
- bomiot-0.2.4/bomiot/templates/public/icons/favicon-16x16.png +0 -0
- bomiot-0.2.4/bomiot/templates/public/icons/favicon-32x32.png +0 -0
- bomiot-0.2.4/bomiot/templates/public/icons/favicon-96x96.png +0 -0
- bomiot-0.2.4/bomiot/templates/quasar.config.js +218 -0
- bomiot-0.2.4/bomiot/templates/src/App.vue +9 -0
- bomiot-0.2.4/bomiot/templates/src/assets/quasar-logo-vertical.svg +15 -0
- bomiot-0.2.4/bomiot/templates/src/boot/.gitkeep +0 -0
- bomiot-0.2.4/bomiot/templates/src/boot/axios.js +24 -0
- bomiot-0.2.4/bomiot/templates/src/boot/i18n.js +14 -0
- bomiot-0.2.4/bomiot/templates/src/components/EssentialLink.vue +48 -0
- bomiot-0.2.4/bomiot/templates/src/css/app.scss +1 -0
- bomiot-0.2.4/bomiot/templates/src/css/quasar.variables.scss +25 -0
- bomiot-0.2.4/bomiot/templates/src/i18n/en-US/index.js +7 -0
- bomiot-0.2.4/bomiot/templates/src/i18n/index.js +5 -0
- bomiot-0.2.4/bomiot/templates/src/layouts/MainLayout.vue +106 -0
- bomiot-0.2.4/bomiot/templates/src/pages/ErrorNotFound.vue +29 -0
- bomiot-0.2.4/bomiot/templates/src/pages/IndexPage.vue +15 -0
- bomiot-0.2.4/bomiot/templates/src/router/index.js +30 -0
- bomiot-0.2.4/bomiot/templates/src/router/routes.js +18 -0
- bomiot-0.2.4/bomiot/templates/src/stores/example-store.js +15 -0
- bomiot-0.2.4/bomiot/templates/src/stores/index.js +20 -0
- bomiot-0.2.4/bomiot/templates/src/stores/store-flag.d.ts +13 -0
- bomiot-0.2.4/bomiot/templates/yarn.lock +3468 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/pyproject.toml +2 -1
- {bomiot-0.2.2 → bomiot-0.2.4}/LICENSE +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/README.md +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/__version__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/create.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/deploy.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/.gitignore +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/LICENSE +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/README.md +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/__version__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/bomiotconf.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/config.ini +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/pyproject.toml +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/setup.ini +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/file/uwsgi.ini +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/initadmin.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/plugins.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/cmd/project.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/.gitignore +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/admin.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/apps.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/auth.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/field.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/filter.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/jwt_auth.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/migrations/0001_initial.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/migrations/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/models.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/my_exceptions.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/permission.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/serializers.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/favicon.ico +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/index.html +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/app.e8b12703.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/app.e8b12703.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-10b2edc2.79f68610.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-10b2edc2.79f68610.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-12e7e66d.f5a4d5cd.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-12e7e66d.f5a4d5cd.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-2ab4c347.a74091e8.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-2ab4c347.a74091e8.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-39423506.309b39ca.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-39423506.309b39ca.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-3a6102b3.0fe5e5eb.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-3a6102b3.0fe5e5eb.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-4a7237a2.0d5cdefa.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-4a7237a2.0d5cdefa.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-582dc9b0.94c01b9b.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-582dc9b0.94c01b9b.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-5cd9d886.d235bd2d.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-5cd9d886.d235bd2d.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-736ea204.31923c28.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-736ea204.31923c28.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-74cc1e94.d031c5e4.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-74cc1e94.d031c5e4.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-vendors.2c7ad440.css +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/css/chunk-vendors.2c7ad440.css.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/element-icons.535877f5.woff +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/element-icons.732389de.ttf +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/fontawesome-webfont.674f50d2.eot +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/fontawesome-webfont.af7ae505.woff2 +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/fontawesome-webfont.b06871f2.ttf +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/fonts/fontawesome-webfont.fee66e71.woff +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/img/fontawesome-webfont.912ec66d.svg +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/img/loading.864753ef.svg +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/img/logo.0aa9679a.png +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/app.c76ee343.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/app.c76ee343.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-10b2edc2.6db9c9b5.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-10b2edc2.6db9c9b5.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-12e7e66d.fd5050d7.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-12e7e66d.fd5050d7.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-193b04f2.bad183bb.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-193b04f2.bad183bb.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2ab4c347.d7e45ee9.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2ab4c347.d7e45ee9.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2d0a3191.e91bf98e.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2d0a3191.e91bf98e.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2d0e450e.6a3ef722.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-2d0e450e.6a3ef722.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-39423506.69b4a9a5.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-39423506.69b4a9a5.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-3a6102b3.3a070cd7.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-3a6102b3.3a070cd7.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-4a7237a2.fee914bc.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-4a7237a2.fee914bc.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-55d43787.c0337460.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-55d43787.c0337460.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-55d4e541.dfd42f49.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-55d4e541.dfd42f49.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-582dc9b0.1b37a15f.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-582dc9b0.1b37a15f.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-5cd9d886.7258f82f.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-5cd9d886.7258f82f.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-736ea204.b3f615b3.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-736ea204.b3f615b3.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-74cc1e94.e11b24e1.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-74cc1e94.e11b24e1.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-8cbdea46.8634a700.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-8cbdea46.8634a700.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-vendors.4e2067da.js +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/templates/static/js/chunk-vendors.4e2067da.js.map +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/test.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/tests.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/throttle.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/utils.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/views.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/core/websocket.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/manage.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/asgi.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/pkgcheck.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/settings.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/server/wsgi.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/server/static/__init__.py +0 -0
- {bomiot-0.2.2 → bomiot-0.2.4}/bomiot/settings.py +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from os import getcwd
|
|
3
|
+
from os.path import join, isdir
|
|
3
4
|
|
|
4
5
|
from django.contrib import admin
|
|
5
6
|
from django.urls import path, include, re_path
|
|
@@ -25,9 +26,11 @@ urlpatterns = [
|
|
|
25
26
|
path('logout/', views.logouts, name='logout'),
|
|
26
27
|
path('register/', views.registers, name='register'),
|
|
27
28
|
path('checktoken/', views.check_token, name='check_token'),
|
|
28
|
-
path('', include('bomiot.server.core.urls')),
|
|
29
|
+
path('core/', include('bomiot.server.core.urls')),
|
|
29
30
|
]
|
|
30
31
|
|
|
32
|
+
|
|
33
|
+
|
|
31
34
|
urlpatterns += [
|
|
32
35
|
path('favicon.ico', views.favicon, name='favicon'),
|
|
33
36
|
re_path('^css/.*$', views.statics, name='css'),
|
|
@@ -41,7 +44,7 @@ urlpatterns += [
|
|
|
41
44
|
]
|
|
42
45
|
|
|
43
46
|
CONFIG = ConfigParser()
|
|
44
|
-
CONFIG.read(
|
|
47
|
+
CONFIG.read(join(os.getcwd(), 'setup.ini'), encoding='utf-8')
|
|
45
48
|
project_name = CONFIG.get('project', 'name', fallback='bomiot')
|
|
46
49
|
|
|
47
50
|
|
|
@@ -62,10 +65,13 @@ for module in [pkg.key for pkg in pkg_resources.working_set]:
|
|
|
62
65
|
if module == project_name:
|
|
63
66
|
project_path = importlib.util.find_spec(project_name).origin
|
|
64
67
|
list_project_path = Path(project_path).resolve().parent
|
|
65
|
-
find_urls = [u for u in os.listdir(list_project_path) if
|
|
68
|
+
find_urls = [u for u in os.listdir(list_project_path) if isdir(u)]
|
|
66
69
|
for url in find_urls:
|
|
67
70
|
if importlib.util.find_spec(f'{project_name}.{url}.urls') is not None:
|
|
68
71
|
urlpatterns += [
|
|
72
|
+
path('', TemplateView.as_view(
|
|
73
|
+
template_name=join(join(join(join(list_project_path, 'templates'), 'dist'), 'spa'),
|
|
74
|
+
'index.html'))),
|
|
69
75
|
path(f'{project_name}/{url}/', include(f'{project_name}.{url}.urls')),
|
|
70
76
|
]
|
|
71
77
|
else:
|
|
@@ -97,6 +103,9 @@ for module_name in current_path:
|
|
|
97
103
|
for url in find_urls:
|
|
98
104
|
if importlib.util.find_spec(f'{project_name}.{url}.urls') is not None:
|
|
99
105
|
urlpatterns += [
|
|
106
|
+
path('', TemplateView.as_view(
|
|
107
|
+
template_name=join(join(join(join(project_path, 'templates'), 'dist'), 'spa'),
|
|
108
|
+
'index.html'))),
|
|
100
109
|
path(f'{project_name}/{url}/', include(f'{project_name}.{url}.urls')),
|
|
101
110
|
]
|
|
102
111
|
else:
|
|
@@ -8,10 +8,18 @@ from django.contrib.auth import authenticate, login, logout
|
|
|
8
8
|
from django.contrib.auth.decorators import login_required
|
|
9
9
|
from django.contrib.auth import get_user_model
|
|
10
10
|
from bomiot.server.core.jwt_auth import create_token, parse_payload
|
|
11
|
+
from django.views.generic.base import TemplateView
|
|
12
|
+
from os.path import join
|
|
13
|
+
from os import getcwd
|
|
14
|
+
from configparser import ConfigParser, RawConfigParser
|
|
11
15
|
|
|
12
16
|
|
|
13
17
|
User = get_user_model()
|
|
14
18
|
|
|
19
|
+
CONFIG = ConfigParser()
|
|
20
|
+
CONFIG.read(join(getcwd(), 'setup.ini'), encoding='utf-8')
|
|
21
|
+
project_name = CONFIG.get('project', 'name', fallback='bomiot')
|
|
22
|
+
|
|
15
23
|
|
|
16
24
|
def logins(request):
|
|
17
25
|
data = json.loads(request.body.decode().replace("'", '"'))
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
|
|
3
|
+
// This option interrupts the configuration hierarchy at this file
|
|
4
|
+
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
|
|
5
|
+
root: true,
|
|
6
|
+
|
|
7
|
+
parserOptions: {
|
|
8
|
+
ecmaVersion: 2021, // Allows for the parsing of modern ECMAScript features
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
env: {
|
|
12
|
+
node: true,
|
|
13
|
+
browser: true
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
// Rules order is important, please avoid shuffling them
|
|
17
|
+
extends: [
|
|
18
|
+
// Base ESLint recommended rules
|
|
19
|
+
// 'eslint:recommended',
|
|
20
|
+
|
|
21
|
+
// Uncomment any of the lines below to choose desired strictness,
|
|
22
|
+
// but leave only one uncommented!
|
|
23
|
+
// See https://eslint.vuejs.org/rules/#available-rules
|
|
24
|
+
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
|
|
25
|
+
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
|
|
26
|
+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
|
|
27
|
+
|
|
28
|
+
// https://github.com/prettier/eslint-config-prettier#installation
|
|
29
|
+
// usage with Prettier, provided by 'eslint-config-prettier'.
|
|
30
|
+
'prettier'
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
plugins: [
|
|
34
|
+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
|
|
35
|
+
// required to lint *.vue files
|
|
36
|
+
'vue',
|
|
37
|
+
|
|
38
|
+
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
|
|
39
|
+
// Prettier has not been included as plugin to avoid performance impact
|
|
40
|
+
// add it as an extension for your IDE
|
|
41
|
+
|
|
42
|
+
],
|
|
43
|
+
|
|
44
|
+
globals: {
|
|
45
|
+
ga: 'readonly', // Google Analytics
|
|
46
|
+
cordova: 'readonly',
|
|
47
|
+
__statics: 'readonly',
|
|
48
|
+
__QUASAR_SSR__: 'readonly',
|
|
49
|
+
__QUASAR_SSR_SERVER__: 'readonly',
|
|
50
|
+
__QUASAR_SSR_CLIENT__: 'readonly',
|
|
51
|
+
__QUASAR_SSR_PWA__: 'readonly',
|
|
52
|
+
process: 'readonly',
|
|
53
|
+
Capacitor: 'readonly',
|
|
54
|
+
chrome: 'readonly'
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
// add your custom rules here
|
|
58
|
+
rules: {
|
|
59
|
+
|
|
60
|
+
'prefer-promise-reject-errors': 'off',
|
|
61
|
+
|
|
62
|
+
// allow debugger during development only
|
|
63
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.DS_Store
|
|
2
|
+
.thumbs.db
|
|
3
|
+
node_modules
|
|
4
|
+
|
|
5
|
+
# Quasar core related directories
|
|
6
|
+
.quasar
|
|
7
|
+
/dist
|
|
8
|
+
/quasar.config.*.temporary.compiled*
|
|
9
|
+
|
|
10
|
+
# Cordova related directories and files
|
|
11
|
+
/src-cordova/node_modules
|
|
12
|
+
/src-cordova/platforms
|
|
13
|
+
/src-cordova/plugins
|
|
14
|
+
/src-cordova/www
|
|
15
|
+
|
|
16
|
+
# Capacitor related directories and files
|
|
17
|
+
/src-capacitor/www
|
|
18
|
+
/src-capacitor/node_modules
|
|
19
|
+
|
|
20
|
+
# Log files
|
|
21
|
+
npm-debug.log*
|
|
22
|
+
yarn-debug.log*
|
|
23
|
+
yarn-error.log*
|
|
24
|
+
|
|
25
|
+
# Editor directories and files
|
|
26
|
+
.idea
|
|
27
|
+
*.suo
|
|
28
|
+
*.ntvs*
|
|
29
|
+
*.njsproj
|
|
30
|
+
*.sln
|
|
31
|
+
|
|
32
|
+
# local .env files
|
|
33
|
+
.env.local*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"dbaeumer.vscode-eslint",
|
|
4
|
+
"esbenp.prettier-vscode",
|
|
5
|
+
"editorconfig.editorconfig",
|
|
6
|
+
"vue.volar",
|
|
7
|
+
"wayou.vscode-todo-highlight"
|
|
8
|
+
],
|
|
9
|
+
"unwantedRecommendations": [
|
|
10
|
+
"octref.vetur",
|
|
11
|
+
"hookyqr.beautify",
|
|
12
|
+
"dbaeumer.jshint",
|
|
13
|
+
"ms-vscode.vscode-typescript-tslint-plugin"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"editor.bracketPairColorization.enabled": true,
|
|
3
|
+
"editor.guides.bracketPairs": true,
|
|
4
|
+
"editor.formatOnSave": true,
|
|
5
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
6
|
+
"editor.codeActionsOnSave": [
|
|
7
|
+
"source.fixAll.eslint"
|
|
8
|
+
],
|
|
9
|
+
"eslint.validate": [
|
|
10
|
+
"javascript",
|
|
11
|
+
"javascriptreact",
|
|
12
|
+
"typescript",
|
|
13
|
+
"vue"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# bomiot app (templates)
|
|
2
|
+
|
|
3
|
+
A bomiot app
|
|
4
|
+
|
|
5
|
+
## Install the dependencies
|
|
6
|
+
```bash
|
|
7
|
+
yarn
|
|
8
|
+
# or
|
|
9
|
+
npm install
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
|
13
|
+
```bash
|
|
14
|
+
quasar dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Lint the files
|
|
19
|
+
```bash
|
|
20
|
+
yarn lint
|
|
21
|
+
# or
|
|
22
|
+
npm run lint
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Format the files
|
|
27
|
+
```bash
|
|
28
|
+
yarn format
|
|
29
|
+
# or
|
|
30
|
+
npm run format
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Build the app for production
|
|
36
|
+
```bash
|
|
37
|
+
quasar build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Customize the configuration
|
|
41
|
+
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title><%= productName %></title>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="description" content="<%= productDescription %>">
|
|
8
|
+
<meta name="format-detection" content="telephone=no">
|
|
9
|
+
<meta name="msapplication-tap-highlight" content="no">
|
|
10
|
+
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
|
11
|
+
|
|
12
|
+
<link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
|
|
13
|
+
<link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
|
|
14
|
+
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
|
|
15
|
+
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
|
|
16
|
+
<link rel="icon" type="image/ico" href="favicon.ico">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<!-- quasar:entry-point -->
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": ".",
|
|
4
|
+
"paths": {
|
|
5
|
+
"src/*": [
|
|
6
|
+
"src/*"
|
|
7
|
+
],
|
|
8
|
+
"app/*": [
|
|
9
|
+
"*"
|
|
10
|
+
],
|
|
11
|
+
"components/*": [
|
|
12
|
+
"src/components/*"
|
|
13
|
+
],
|
|
14
|
+
"layouts/*": [
|
|
15
|
+
"src/layouts/*"
|
|
16
|
+
],
|
|
17
|
+
"pages/*": [
|
|
18
|
+
"src/pages/*"
|
|
19
|
+
],
|
|
20
|
+
"assets/*": [
|
|
21
|
+
"src/assets/*"
|
|
22
|
+
],
|
|
23
|
+
"boot/*": [
|
|
24
|
+
"src/boot/*"
|
|
25
|
+
],
|
|
26
|
+
"stores/*": [
|
|
27
|
+
"src/stores/*"
|
|
28
|
+
],
|
|
29
|
+
"vue$": [
|
|
30
|
+
"node_modules/vue/dist/vue.runtime.esm-bundler.js"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"exclude": [
|
|
35
|
+
"dist",
|
|
36
|
+
".quasar",
|
|
37
|
+
"node_modules"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "templates",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A bomiot app",
|
|
5
|
+
"productName": "bomiot app",
|
|
6
|
+
"author": "GreaterWMS <38828089+Singosgu@users.noreply.github.com>",
|
|
7
|
+
"private": true,
|
|
8
|
+
"scripts": {
|
|
9
|
+
"lint": "eslint --ext .js,.vue ./",
|
|
10
|
+
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
|
11
|
+
"test": "echo \"No test specified\" && exit 0",
|
|
12
|
+
"dev": "quasar dev",
|
|
13
|
+
"build": "quasar build"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"axios": "^1.2.1",
|
|
17
|
+
"vue-i18n": "^9.0.0",
|
|
18
|
+
"pinia": "^2.0.11",
|
|
19
|
+
"@quasar/extras": "^1.16.4",
|
|
20
|
+
"quasar": "^2.16.0",
|
|
21
|
+
"vue": "^3.4.18",
|
|
22
|
+
"vue-router": "^4.0.12"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"eslint": "^8.57.0",
|
|
26
|
+
"eslint-plugin-vue": "^9.0.0",
|
|
27
|
+
"vite-plugin-checker": "^0.8.0",
|
|
28
|
+
"eslint-config-prettier": "^8.1.0",
|
|
29
|
+
"prettier": "^2.5.1",
|
|
30
|
+
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
|
|
31
|
+
"@quasar/app-vite": "^1.9.0",
|
|
32
|
+
"autoprefixer": "^10.4.2",
|
|
33
|
+
"postcss": "^8.4.14"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": "^20 || ^18 || ^16",
|
|
37
|
+
"npm": ">= 6.13.4",
|
|
38
|
+
"yarn": ">= 1.21.1"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// https://github.com/michael-ciniawsky/postcss-load-config
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
plugins: [
|
|
6
|
+
// https://github.com/postcss/autoprefixer
|
|
7
|
+
require('autoprefixer')({
|
|
8
|
+
overrideBrowserslist: [
|
|
9
|
+
'last 4 Chrome versions',
|
|
10
|
+
'last 4 Firefox versions',
|
|
11
|
+
'last 4 Edge versions',
|
|
12
|
+
'last 4 Safari versions',
|
|
13
|
+
'last 4 Android versions',
|
|
14
|
+
'last 4 ChromeAndroid versions',
|
|
15
|
+
'last 4 FirefoxAndroid versions',
|
|
16
|
+
'last 4 iOS versions'
|
|
17
|
+
]
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
// https://github.com/elchininet/postcss-rtlcss
|
|
21
|
+
// If you want to support RTL css, then
|
|
22
|
+
// 1. yarn/npm install postcss-rtlcss
|
|
23
|
+
// 2. optionally set quasar.config.js > framework > lang to an RTL language
|
|
24
|
+
// 3. uncomment the following line:
|
|
25
|
+
// require('postcss-rtlcss')
|
|
26
|
+
]
|
|
27
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file runs in a Node context (it's NOT transpiled by Babel), so use only
|
|
5
|
+
* the ES6 features that are supported by your Node version. https://node.green/
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Configuration for your app
|
|
9
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
const { configure } = require('quasar/wrappers');
|
|
13
|
+
const path = require('path');
|
|
14
|
+
|
|
15
|
+
module.exports = configure(function (/* ctx */) {
|
|
16
|
+
return {
|
|
17
|
+
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
|
|
18
|
+
// preFetch: true,
|
|
19
|
+
|
|
20
|
+
// app boot file (/src/boot)
|
|
21
|
+
// --> boot files are part of "main.js"
|
|
22
|
+
// https://v2.quasar.dev/quasar-cli-vite/boot-files
|
|
23
|
+
boot: [
|
|
24
|
+
'i18n',
|
|
25
|
+
'axios',
|
|
26
|
+
],
|
|
27
|
+
|
|
28
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
|
|
29
|
+
css: [
|
|
30
|
+
'app.scss'
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
// https://github.com/quasarframework/quasar/tree/dev/extras
|
|
34
|
+
extras: [
|
|
35
|
+
// 'ionicons-v4',
|
|
36
|
+
// 'mdi-v7',
|
|
37
|
+
// 'fontawesome-v6',
|
|
38
|
+
// 'eva-icons',
|
|
39
|
+
// 'themify',
|
|
40
|
+
// 'line-awesome',
|
|
41
|
+
// 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
|
|
42
|
+
|
|
43
|
+
'roboto-font', // optional, you are not bound to it
|
|
44
|
+
'material-icons', // optional, you are not bound to it
|
|
45
|
+
],
|
|
46
|
+
|
|
47
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
|
|
48
|
+
build: {
|
|
49
|
+
target: {
|
|
50
|
+
browser: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
|
|
51
|
+
node: 'node20'
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
|
55
|
+
// vueRouterBase,
|
|
56
|
+
// vueDevtools,
|
|
57
|
+
// vueOptionsAPI: false,
|
|
58
|
+
|
|
59
|
+
// rebuildCache: true, // rebuilds Vite/linter/etc cache on startup
|
|
60
|
+
|
|
61
|
+
// publicPath: '/',
|
|
62
|
+
// analyze: true,
|
|
63
|
+
// env: {},
|
|
64
|
+
// rawDefine: {}
|
|
65
|
+
// ignorePublicFolder: true,
|
|
66
|
+
// minify: false,
|
|
67
|
+
// polyfillModulePreload: true,
|
|
68
|
+
// distDir
|
|
69
|
+
|
|
70
|
+
// extendViteConf (viteConf) {},
|
|
71
|
+
// viteVuePluginOptions: {},
|
|
72
|
+
|
|
73
|
+
vitePlugins: [
|
|
74
|
+
['@intlify/vite-plugin-vue-i18n', {
|
|
75
|
+
// if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
|
|
76
|
+
// compositionOnly: false,
|
|
77
|
+
|
|
78
|
+
// if you want to use named tokens in your Vue I18n messages, such as 'Hello {name}',
|
|
79
|
+
// you need to set `runtimeOnly: false`
|
|
80
|
+
// runtimeOnly: false,
|
|
81
|
+
|
|
82
|
+
// you need to set i18n resource including paths !
|
|
83
|
+
include: path.resolve(__dirname, './src/i18n/**')
|
|
84
|
+
}],
|
|
85
|
+
['vite-plugin-checker', {
|
|
86
|
+
eslint: {
|
|
87
|
+
lintCommand: 'eslint "./**/*.{js,mjs,cjs,vue}"'
|
|
88
|
+
}
|
|
89
|
+
}, { server: false }]
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
|
|
94
|
+
devServer: {
|
|
95
|
+
// https: true
|
|
96
|
+
open: true // opens browser window automatically
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
|
|
100
|
+
framework: {
|
|
101
|
+
config: {},
|
|
102
|
+
|
|
103
|
+
// iconSet: 'material-icons', // Quasar icon set
|
|
104
|
+
// lang: 'en-US', // Quasar language pack
|
|
105
|
+
|
|
106
|
+
// For special cases outside of where the auto-import strategy can have an impact
|
|
107
|
+
// (like functional components as one of the examples),
|
|
108
|
+
// you can manually specify Quasar components/directives to be available everywhere:
|
|
109
|
+
//
|
|
110
|
+
// components: [],
|
|
111
|
+
// directives: [],
|
|
112
|
+
|
|
113
|
+
// Quasar plugins
|
|
114
|
+
plugins: []
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
// animations: 'all', // --- includes all animations
|
|
118
|
+
// https://v2.quasar.dev/options/animations
|
|
119
|
+
animations: [],
|
|
120
|
+
|
|
121
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#property-sourcefiles
|
|
122
|
+
// sourceFiles: {
|
|
123
|
+
// rootComponent: 'src/App.vue',
|
|
124
|
+
// router: 'src/router/index',
|
|
125
|
+
// store: 'src/store/index',
|
|
126
|
+
// registerServiceWorker: 'src-pwa/register-service-worker',
|
|
127
|
+
// serviceWorker: 'src-pwa/custom-service-worker',
|
|
128
|
+
// pwaManifestFile: 'src-pwa/manifest.json',
|
|
129
|
+
// electronMain: 'src-electron/electron-main',
|
|
130
|
+
// electronPreload: 'src-electron/electron-preload'
|
|
131
|
+
// },
|
|
132
|
+
|
|
133
|
+
// https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
|
|
134
|
+
ssr: {
|
|
135
|
+
// ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
|
|
136
|
+
// will mess up SSR
|
|
137
|
+
|
|
138
|
+
// extendSSRWebserverConf (esbuildConf) {},
|
|
139
|
+
// extendPackageJson (json) {},
|
|
140
|
+
|
|
141
|
+
pwa: false,
|
|
142
|
+
|
|
143
|
+
// manualStoreHydration: true,
|
|
144
|
+
// manualPostHydrationTrigger: true,
|
|
145
|
+
|
|
146
|
+
prodPort: 3000, // The default port that the production server should use
|
|
147
|
+
// (gets superseded if process.env.PORT is specified at runtime)
|
|
148
|
+
|
|
149
|
+
middlewares: [
|
|
150
|
+
'render' // keep this as last one
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
// https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
|
|
155
|
+
pwa: {
|
|
156
|
+
workboxMode: 'generateSW', // or 'injectManifest'
|
|
157
|
+
injectPwaMetaTags: true,
|
|
158
|
+
swFilename: 'sw.js',
|
|
159
|
+
manifestFilename: 'manifest.json',
|
|
160
|
+
useCredentialsForManifestTag: false,
|
|
161
|
+
// useFilenameHashes: true,
|
|
162
|
+
// extendGenerateSWOptions (cfg) {}
|
|
163
|
+
// extendInjectManifestOptions (cfg) {},
|
|
164
|
+
// extendManifestJson (json) {}
|
|
165
|
+
// extendPWACustomSWConf (esbuildConf) {}
|
|
166
|
+
},
|
|
167
|
+
|
|
168
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
|
|
169
|
+
cordova: {
|
|
170
|
+
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
|
171
|
+
},
|
|
172
|
+
|
|
173
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
|
|
174
|
+
capacitor: {
|
|
175
|
+
hideSplashscreen: true
|
|
176
|
+
},
|
|
177
|
+
|
|
178
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
|
|
179
|
+
electron: {
|
|
180
|
+
// extendElectronMainConf (esbuildConf)
|
|
181
|
+
// extendElectronPreloadConf (esbuildConf)
|
|
182
|
+
|
|
183
|
+
// specify the debugging port to use for the Electron app when running in development mode
|
|
184
|
+
inspectPort: 5858,
|
|
185
|
+
|
|
186
|
+
bundler: 'packager', // 'packager' or 'builder'
|
|
187
|
+
|
|
188
|
+
packager: {
|
|
189
|
+
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
|
|
190
|
+
|
|
191
|
+
// OS X / Mac App Store
|
|
192
|
+
// appBundleId: '',
|
|
193
|
+
// appCategoryType: '',
|
|
194
|
+
// osxSign: '',
|
|
195
|
+
// protocol: 'myapp://path',
|
|
196
|
+
|
|
197
|
+
// Windows only
|
|
198
|
+
// win32metadata: { ... }
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
builder: {
|
|
202
|
+
// https://www.electron.build/configuration/configuration
|
|
203
|
+
|
|
204
|
+
appId: 'templates'
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
|
|
208
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
|
|
209
|
+
bex: {
|
|
210
|
+
contentScripts: [
|
|
211
|
+
'my-content-script'
|
|
212
|
+
],
|
|
213
|
+
|
|
214
|
+
// extendBexScriptsConf (esbuildConf) {}
|
|
215
|
+
// extendBexManifestJson (json) {}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
});
|