@goweekdays/layer-common 1.0.8 → 1.1.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 +3 -0
- package/nuxt.config.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/composables/useLocal.ts
CHANGED
|
@@ -48,6 +48,8 @@ export default function useLocal() {
|
|
|
48
48
|
const pages = ref(0);
|
|
49
49
|
const pageRange = ref("");
|
|
50
50
|
|
|
51
|
+
const landingPage = useCookie("landingPage", cookieConfig);
|
|
52
|
+
|
|
51
53
|
return {
|
|
52
54
|
cookieConfig,
|
|
53
55
|
getUserFromCookie,
|
|
@@ -59,5 +61,6 @@ export default function useLocal() {
|
|
|
59
61
|
page,
|
|
60
62
|
pages,
|
|
61
63
|
pageRange,
|
|
64
|
+
landingPage,
|
|
62
65
|
};
|
|
63
66
|
}
|
package/nuxt.config.ts
CHANGED
|
@@ -15,6 +15,7 @@ export default defineNuxtConfig({
|
|
|
15
15
|
secure: true,
|
|
16
16
|
maxAge: 30 * 24 * 60 * 60,
|
|
17
17
|
},
|
|
18
|
+
APP: (process.env.APP as string) ?? "app",
|
|
18
19
|
APP_NAME: (process.env.APP_NAME as string) ?? "App",
|
|
19
20
|
APP_NAME_ROUTE: (process.env.APP_NAME_ROUTE as string) ?? "index",
|
|
20
21
|
S3_BUCKET_ENDPOINT: (process.env.S3_BUCKET_ENDPOINT as string) ?? "",
|