https://github.com/1983shiv/sapperproj1
https://github.com/1983shiv/sapperproj1
css html5 svelte tailwindcss wordpress
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/1983shiv/sapperproj1
- Owner: 1983shiv
- Created: 2021-06-20T06:47:59.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-04T09:57:55.000Z (almost 5 years ago)
- Last Synced: 2025-06-04T10:52:03.319Z (about 1 year ago)
- Topics: css, html5, svelte, tailwindcss, wordpress
- Language: CSS
- Homepage: https://sapperproj1.vercel.app
- Size: 41 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sapper blog example
Example markdown-style blog using Sapper.
## Links
- DEV article
- [Part 1 - Setup](https://dev.to/joshnuss/create-a-blog-with-markdown-sapper-50ad)
- [Part 2 - Tags](https://dev.to/joshnuss/create-a-blog-with-sapper-markdown-part-2-31m4)
- YouTube screencast:
- [Part 1 - Setup](https://youtu.be/9dSrsDdHyHg)
- [Part 2 - Tags](https://youtu.be/PGLsFfBf1UA)
## Getting started
Clone the repo
```
npx degit joshnuss/blog-template my-blog
```
### Running the project
Install dependencies and run the project in development mode with:
```bash
cd my-blog
yarn
yarn dev
```
Open up [localhost:3000](http://localhost:3000) and start clicking around.
Consult [sapper.svelte.dev](https://sapper.svelte.dev) for help getting started.
## Structure
Posts are stored in the `posts` folder and pages are in the `src/routes` folder
## Production mode and deployment
To generate a production version of your app, run `yarn export` and then deploy it. You can use any host, for example zeit `npm install -g vercel`:
```bash
yarn export
vercel
```
## License
MIT