feat(showcase): add version number to insights

This commit is contained in:
Haoyu Xu
2023-02-11 21:41:15 -05:00
parent 335b083224
commit d92ae023d5
5 changed files with 9 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ export default class EnvGenerator {
generate() {
return [
`VITE_LINK="${this.#operatorConfig.link}"`,
`VITE_VERSION=${__config.version}`,
`VITE_TITLE="${this.#operatorConfig.title}"`,
`VITE_FILENAME=${this.#operatorConfig.filename.replace('#', '%23')}`,
`VITE_LOGO_FILENAME=${this.#operatorConfig.logo}`,