bt-core-app 1.4.90 → 1.4.92
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.
- package/README.md +15 -30
- package/dist/bt-core-app.js +345 -358
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,40 +1,22 @@
|
|
|
1
|
-
## Vue 3 + TypeScript + Vite
|
|
1
|
+
## Vue 3 + TypeScript + Vite + Vuetify
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
## Custom Themes
|
|
4
|
+
Enables saving local cosmetic settings that are loaded in to Vuetify
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## Data URL Navigation
|
|
7
|
+
Enables managing navigation and permissions through defining permissions, urls, and microservices base urls.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
## Auto Routes
|
|
10
|
+
Uses unplugin-auto-router to define routes. Specific details can be overriden with navigation items.
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
## Component Presets
|
|
13
|
+
Can set default settings that are applied to components with a single property.
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
VITE_BASE_AUTH_URL=[https://auth...]
|
|
17
|
-
VITE_[BASE_DATA_URL]=[https://data...]
|
|
18
|
-
VITE_WEB_APP_URL=[https://webapp...]
|
|
19
|
-
VITE_[MICROSERVICE]=[https://microservice...]
|
|
20
|
-
VITE_[LOCAL_DB_NAME]=[btweb]
|
|
21
|
-
```
|
|
22
|
-
The VITE_[MICROSERVICE] variable can include any number of variables like this:
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
VITE_auth=[https://data_auth...]
|
|
26
|
-
VITE_ordering=[https://data_ordering...]
|
|
27
|
-
VITE_courier-invoicing=[https://data_courier-invoicing...]
|
|
28
|
-
``` -->
|
|
15
|
+
## Components
|
|
16
|
+
Some custom components that are built off Vuetify and have default grid/column settings, but haven't worked out how to export them with Vuetify components and styles.
|
|
29
17
|
|
|
30
18
|
## Auth modes
|
|
31
19
|
|
|
32
|
-
Auth credentials are stored locally using @vueuse/core's useStorage composable. You can change the storage key by setting an environment variable:
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
VITE_AUTH_STORAGE_TOKEN=[string]
|
|
36
|
-
```
|
|
37
|
-
|
|
38
20
|
Permissions take the format [permission].[access]. For instance:
|
|
39
21
|
|
|
40
22
|
```
|
|
@@ -42,4 +24,7 @@ customers.view
|
|
|
42
24
|
customers.edit
|
|
43
25
|
```
|
|
44
26
|
|
|
45
|
-
If the navigation item requires a permission of 'customers', then it will allow viewing and also editing.
|
|
27
|
+
If the navigation item requires a permission of 'customers', then it will allow viewing and also editing.
|
|
28
|
+
|
|
29
|
+
## Environment URL Testing
|
|
30
|
+
Can set different data urls for each stage - whether development or staging or production
|