@eeplatform/nuxt-layer-common 1.1.0 → 1.2.0
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/CHANGELOG.md +6 -0
- package/composables/useLocal.ts +14 -1
- package/nuxt.config.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/composables/useLocal.ts
CHANGED
|
@@ -9,10 +9,23 @@ export default function useLocal() {
|
|
|
9
9
|
|
|
10
10
|
const drawer = useState("drawer", () => true);
|
|
11
11
|
|
|
12
|
-
const { APP_SCHOOL, APP_DIVISION, APP_REGION } =
|
|
12
|
+
const { APP_STUDENT, APP_PARENT, APP_SCHOOL, APP_DIVISION, APP_REGION } =
|
|
13
|
+
appConfig;
|
|
13
14
|
|
|
14
15
|
const apps = computed(() => {
|
|
15
16
|
return [
|
|
17
|
+
{
|
|
18
|
+
title: "Student",
|
|
19
|
+
icon: "material-symbols:person-raised-hand",
|
|
20
|
+
link: APP_STUDENT as string,
|
|
21
|
+
landingPage: "home",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: "Parent",
|
|
25
|
+
icon: "fa6-solid:hands-holding-child",
|
|
26
|
+
link: APP_PARENT as string,
|
|
27
|
+
landingPage: "home",
|
|
28
|
+
},
|
|
16
29
|
{
|
|
17
30
|
title: "School",
|
|
18
31
|
icon: "ph:building-bold",
|
package/nuxt.config.ts
CHANGED
|
@@ -24,6 +24,8 @@ export default defineNuxtConfig({
|
|
|
24
24
|
APP_SCHOOL: (process.env.APP_SCHOOL as string) ?? "",
|
|
25
25
|
APP_DIVISION: (process.env.APP_DIVISION as string) ?? "",
|
|
26
26
|
APP_REGION: (process.env.APP_REGION as string) ?? "",
|
|
27
|
+
APP_PARENT: (process.env.APP_PARENT as string) ?? "",
|
|
28
|
+
APP_STUDENT: (process.env.APP_STUDENT as string) ?? "",
|
|
27
29
|
},
|
|
28
30
|
},
|
|
29
31
|
|