mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
.env
This commit is contained in:
parent
6179fba3c8
commit
d0038cffb6
3
.env.dist
Normal file
3
.env.dist
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# META
|
||||||
|
PUBLIC_ENV__META__DEFAULT_TITLE="IT4C"
|
||||||
|
PUBLIC_ENV__META__DEFAULT_DESCRIPTION="IT4C Frontend Boilerplate"
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,4 +5,5 @@ coverage/
|
|||||||
!.vuepress/
|
!.vuepress/
|
||||||
.vuepress/.temp/
|
.vuepress/.temp/
|
||||||
.vuepress/.cache/
|
.vuepress/.cache/
|
||||||
build-storybook.log
|
build-storybook.log
|
||||||
|
.env
|
||||||
7
src/env.ts
Normal file
7
src/env.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
const META = {
|
||||||
|
DEFAULT_TITLE: import.meta.env.PUBLIC_ENV__META__DEFAULT_TITLE ?? 'IT4C',
|
||||||
|
DEFAULT_DESCRIPTION:
|
||||||
|
import.meta.env.PUBLIC_ENV__META__DEFAULT_DESCRIPTION ?? 'IT4C Frontend Boilerplate',
|
||||||
|
}
|
||||||
|
|
||||||
|
export { META }
|
||||||
Loading…
x
Reference in New Issue
Block a user