|
1 |
| -# create-svelte |
| 1 | +# :rocket: Sveltekit Starter |
2 | 2 |
|
3 |
| -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte); |
| 3 | +[](https://kit.svelte.dev/) [](https://www.typescriptlang.org/) [](https://github.com/tc39/ecma262) [](https://tailwindcss.com) [](https://postcss.org) [](https://sass-lang.com/) [](https://storybook.js.org/) [](https://jestjs.io/) [](https://prettier.io/) [](https://eslint.org/) [](https://github.com/navneetsharmaui/sveltekit-starter/blob/main/LICENSE) |
4 | 4 |
|
5 |
| -## Creating a project |
| 5 | + |
6 | 6 |
|
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. |
8 | 9 |
|
9 |
| -```bash |
10 |
| -# create a new project in the current directory |
11 |
| -npm init svelte@next |
| 10 | +## :100: :fire: Project LightHouse Report |
12 | 11 |
|
13 |
| -# create a new project in my-app |
14 |
| -npm init svelte@next my-app |
15 |
| -``` |
| 12 | + |
16 | 13 |
|
17 |
| -> Note: the `@next` is temporary |
| 14 | +## :paperclip: Menu |
18 | 15 |
|
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) |
20 | 19 |
|
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 |
22 | 21 |
|
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. |
25 | 33 |
|
26 |
| -# or start the server and open the app in a new browser tab |
27 |
| -npm run dev -- --open |
28 |
| -``` |
| 34 | +## :hammer: Project Setup |
29 | 35 |
|
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`. |
31 | 41 |
|
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 |
33 | 43 |
|
34 |
| -```bash |
35 |
| -npm run build |
36 |
| -``` |
| 44 | +- Code and Contributions have **MIT License** |
37 | 45 |
|
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