An open API service indexing awesome lists of open source software.

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

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.