Skip to content

Commit a0b1497

Browse files
Updated the readme
1 parent bf5346b commit a0b1497

File tree

1 file changed

+32
-24
lines changed

1 file changed

+32
-24
lines changed

README.md

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,46 @@
1-
# create-svelte
1+
# :rocket: Sveltekit Starter
22

3-
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte);
3+
[![Powered By Sveltekit](https://img.shields.io/badge/powered%20by-svelte-FF3C02.svg?style=flat&logo=svelte)](https://kit.svelte.dev/) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Tailwindcss](https://img.shields.io/badge/Tailwindcss-CSS--Framework-%2338B2AC?logo=tailwindcss)](https://tailwindcss.com) [![Postcss](https://img.shields.io/badge/Postcss-style-%23DD3A0A?style=flat&logo=postcss)](https://postcss.org) [![SCSS](https://img.shields.io/badge/SCSS-Style-%23CC6699?style=flat&logo=sass)](https://sass-lang.com/) [![StorybookJS](https://img.shields.io/badge/Storybook-UI--Webcomponent--tool-%23FF4785?style=flat&logo=storybook)](https://storybook.js.org/) [![Jest](https://img.shields.io/badge/Jest-Unit--Testing--Framework-%23C21325?style=flat&logo=jest)](https://jestjs.io/) [![Prettier](https://img.shields.io/badge/Prettier-code--formatter-%23F7B93E?style=flat&logo=prettier)](https://prettier.io/) [![Eslint](https://img.shields.io/badge/Eslint-linter-%234B32C3?style=flat&logo=eslint)](https://eslint.org/) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/navneetsharmaui/sveltekit-starter/blob/main/LICENSE)
44

5-
## Creating a project
5+
![sveltekit](https://user-images.githubusercontent.com/11630812/114088279-7cd7be80-98d2-11eb-883c-66c3bf48f293.png)
66

7-
If you're seeing this, you've probably already done this step. Congrats!
7+
Sveltekit Blog project created with Sveltekit, Typescript, Tailwindcss, Postcss, SCSS, Husky, ESLint, Prettier, Storybook, and MDSVEX.
8+
The project has the ***SSR (Server Side Rendering)*** setup. These template is easy to configure and built upon as it has scalable structure.
89

9-
```bash
10-
# create a new project in the current directory
11-
npm init svelte@next
10+
## :100: :fire: Project LightHouse Report
1211

13-
# create a new project in my-app
14-
npm init svelte@next my-app
15-
```
12+
![sveltekit-starter-lighthouse-report](https://user-images.githubusercontent.com/11630812/115241377-5d485d80-a13e-11eb-8667-611770992c28.png)
1613

17-
> Note: the `@next` is temporary
14+
## :paperclip: Menu
1815

19-
## Developing
16+
- :bulb: [Features](#bulb-features)
17+
- :hammer: [Project Setup](#hammer-project-setup)
18+
- :bug: [Known Bugs](https://github.com/navneetsharmaui/sveltekit-starter/issues)
2019

21-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20+
## :bulb: Features
2221

23-
```bash
24-
npm run dev
22+
- [:heavy_check_mark:] Server side rendering built with ***SEO*** in mind.
23+
- [:heavy_check_mark:] SSR + Blog Setup.
24+
- [:heavy_check_mark:] Tailwindcss + Postcss + SCSS Syntax Support in Postcss.
25+
- [:heavy_check_mark:] Global Style and Variable preconfigured for Postcss.
26+
- [:heavy_check_mark:] StorybookJS preconfigured (with postcss support).
27+
- [:heavy_check_mark:] Browser sync, auto refresh, auto reload.
28+
- [:heavy_check_mark:] 100% on Google Speedpage and 100% Lighthouse report.
29+
- [:heavy_check_mark:] Friendly and Scalable boilerplate.
30+
- [:heavy_check_mark:] Typescript + TSPaths (absolute for imports in component) preconfigured.
31+
- [:heavy_check_mark:] Prettiers, ESLint, and Husky preconfigured.
32+
- [:heavy_check_mark:] Github and Vscode dotfiles preconfigured.
2533

26-
# or start the server and open the app in a new browser tab
27-
npm run dev -- --open
28-
```
34+
## :hammer: Project Setup
2935

30-
## Building
36+
1. `npx degit navneetsharmaui/sveltekit-starter my-app` or Clone this repository.
37+
2. `npm install` or `yarn install` or `pnpm install`.
38+
3. `npm run dev` or `yarn run dev` or `pnpm run dev`.
39+
4. `npm run build:static:ssr` or `yarn run build:static:ssr` or `pnpm run build:static:ssr`.
40+
5. `npm run preview` or `yarn run preview` or `pnpm run preview`.
3141

32-
Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:
42+
## 💫 License
3343

34-
```bash
35-
npm run build
36-
```
44+
- Code and Contributions have **MIT License**
3745

38-
> You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
46+
*Copyright (c) 2021 [Navneet Sharma](https://navneetsharma.tech) ([@asnavneetsharma](https://twitter.com/asnavneetsharma))*

0 commit comments

Comments
 (0)