https://github.com/shateq/svelte-with-gh-pages
Svelte with GitHub pages working template
https://github.com/shateq/svelte-with-gh-pages
gh-pages svelte svelte-gh-pages sveltekit
Last synced: 2 months ago
JSON representation
Svelte with GitHub pages working template
- Host: GitHub
- URL: https://github.com/shateq/svelte-with-gh-pages
- Owner: shateq
- License: mit
- Created: 2023-09-03T13:05:14.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T16:12:56.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T18:02:15.295Z (4 months ago)
- Topics: gh-pages, svelte, svelte-gh-pages, sveltekit
- Language: HTML
- Homepage: http://szymek.nl/svelte-with-gh-pages/
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svelte-with-gh-pages
Analyze, refer to https://github.com/tschaub/gh-pages for deployment specifics.
*Deploy permissions issue:* [#429](https://github.com/tschaub/gh-pages/issues/429#issuecomment-1126987413)
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```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
```To publish build folder to github pages:
```bash
npm run deploy
```You can preview the production build with `pnpm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
### License
Under MIT. Check LICENSE file.