Merge branch 'master' into dfhsfd
This commit is contained in:
commit
43bf547c41
46
README.md
46
README.md
|
@ -1,38 +1,36 @@
|
||||||
# create-svelte
|
# Hello world, this is my personal site
|
||||||
|
|
||||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
Featuring a blog, projects, current social accounts, skills and so on and so on, look at [Technical Features](#technical-features)
|
||||||
|
|
||||||
## Creating a project
|
## Stack info
|
||||||
|
I focused on researching the best possible modern solutions to frontend and worked on my previous knowledge of svelte.
|
||||||
|
|
||||||
If you're seeing this, you've probably already done this step. Congrats!
|
Javascript, Typescript
|
||||||
|
Framework: Sveltekit
|
||||||
|
CSS: Tailwindcss, postcss
|
||||||
|
[MDsveX](https://mdsvex.pngwn.io/) for markdown text file processing with plugins
|
||||||
|
Dockerfile, node-adapter for custom deploy
|
||||||
|
AWS S3 for static assets
|
||||||
|
AWS lambda for automation
|
||||||
|
|
||||||
```bash
|
|
||||||
# create a new project in the current directory
|
|
||||||
npm create svelte@latest
|
|
||||||
|
|
||||||
# create a new project in my-app
|
## Technical Features
|
||||||
npm create svelte@latest my-app
|
|
||||||
```
|
|
||||||
|
|
||||||
## Developing
|
- A possibility of great .md file processing with ability to use svelte components in .md
|
||||||
|
- Rss feed
|
||||||
|
- Sitemap, robots, Manifest, Workers,
|
||||||
|
- Some playwright testing
|
||||||
|
|
||||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
https://rodneylab.com/sveltekit-content-security-policy/
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run dev
|
|
||||||
|
|
||||||
# or start the server and open the app in a new browser tab
|
|
||||||
npm run dev -- --open
|
|
||||||
```
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
To create a production version of your app:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
You can preview the production build with `npm run preview`.
|
## Credits
|
||||||
|
|
||||||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
|
||||||
|
This project is using [Skeleton Labs UI / Component / utils Library](https://www.skeleton.dev/) for sveltekit.
|
||||||
|
This project used some logic of gitpod.io sveltekit blog with MIT License, however they have shortly pulled their site off of github, their source or license now unreachable.
|
||||||
|
I have learned some svelte tricks used here from [Matt Croat](https://matia.xyz) alias [https://joyofcode.xyz/]
|
Loading…
Reference in New Issue