We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9f59b commit 687f843Copy full SHA for 687f843
.env
@@ -0,0 +1 @@
1
+PUBLIC_VERSION=1.0.0-beta.1
.gitignore
@@ -11,12 +11,6 @@ node_modules
11
.DS_Store
12
Thumbs.db
13
14
-# Env
15
-.env
16
-.env.*
17
-!.env.example
18
-!.env.test
19
-
20
# Vite
21
vite.config.js.timestamp-*
22
vite.config.ts.timestamp-*
src/routes/+page.svelte
@@ -1,10 +1,12 @@
<script lang="ts">
2
import CopyPaste from './CopyPaste.svelte';
3
import LazyComponent from './LazyComponent.svelte';
4
+
5
+ import { PUBLIC_VERSION } from '$env/static/public';
6
</script>
7
8
<div class="grid">
- <h1 class="example"># svelte-knobs</h1>
9
+ <h1 class="example"># svelte-knobs {PUBLIC_VERSION}</h1>
10
<div class="example">
<h2>Basic</h2>
0 commit comments