Browse Source

Added the module context

pull/5/head
Navneet Sharma 1 year ago
parent
commit
3c681d1487
  1. 6
      README.md
  2. 1
      src/app.html
  3. 5
      src/routes/about/index.svelte
  4. BIN
      static/favicon.png
  5. BIN
      static/logo-192.png
  6. BIN
      static/logo-512.png
  7. 13
      static/manifest.json

6
README.md

@ -2,3 +2,9 @@ @@ -2,3 +2,9 @@
Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook.
The project has the structure setup for the scaleable project.
## Project Setup
1. `npx degit navneetsharmaui/sveltekit-starter my-app`.
2. `yarn install`.
3. `yarn dev`.

1
src/app.html

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#333333" />
<link rel="manifest" href="/manifest.json" />
%svelte.head%
</head>

5
src/routes/about/index.svelte

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
<script lang="ts" context="module">
export const hydrate = false;
export const prerender = true;
</script>
<section class="text-gray-600 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-col text-center w-full mb-20">

BIN
static/favicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
static/logo-192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
static/logo-512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

13
static/manifest.json

@ -1,14 +1,19 @@ @@ -1,14 +1,19 @@
{
"background_color": "#ffffff",
"theme_color": "#5cb85c",
"name": "Sveltekit Starter App",
"theme_color": "#ff6600",
"name": "Sveltekit Starter",
"short_name": "Sveltekit",
"display": "minimal-ui",
"start_url": "/",
"icons": [
{
"src": "logo-256.png",
"sizes": "256x256",
"src": "logo-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "logo-512.png",
"sizes": "512x512",
"type": "image/png"
}
]

Loading…
Cancel
Save