Implemented .env file and integrated env variables into production via production.env and the dotenv npm module

This commit is contained in:
2024-08-03 11:42:23 +03:00
parent 0fc7a2f22e
commit 50f6878502
5 changed files with 26 additions and 2 deletions

View File

@@ -1,2 +1,8 @@
<script>
import { PUBLIC_TEST } from '$env/static/public'
</script>
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<p>{PUBLIC_TEST}</p>