Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmmhmmhm/svelte-template
🚧 An easy-to-use Svelte template! (Svelte + Typescript + Parcel + Express) 2020
https://github.com/hmmhmmhm/svelte-template
express hmr nodejs parcel prefetch split svelte svelte-example svelte-template svelte-v3 svelte3 typescript
Last synced: 4 months ago
JSON representation
🚧 An easy-to-use Svelte template! (Svelte + Typescript + Parcel + Express) 2020
- Host: GitHub
- URL: https://github.com/hmmhmmhm/svelte-template
- Owner: hmmhmmhm
- License: mit
- Created: 2019-10-09T07:49:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:31:20.000Z (about 2 years ago)
- Last Synced: 2024-09-29T11:59:54.945Z (4 months ago)
- Topics: express, hmr, nodejs, parcel, prefetch, split, svelte, svelte-example, svelte-template, svelte-v3, svelte3, typescript
- Language: TypeScript
- Homepage:
- Size: 947 KB
- Stars: 97
- Watchers: 3
- Forks: 10
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚧 Svelte Template
> Svelte + Typescript + Parcel + Express
>
> + 👋 **Svelte Template** **(THIS)** -> https://github.com/hmmhmmhm/svelte-template
> + 🚀 **Svelte SPA Template** -> https://github.com/hmmhmmhm/svelte-spa-templateAn easy-to-use Svelte template!
- Allowed to use code splitting in svelte. (code chunk, npm modules.. dynamic import.. code split... whatever)
![Svelte Is Awesome GIF](https://i.imgur.com/JmY3EHH.gif)
## Command
- npm start
> Run the development server. This command creates a path accessible through HTTP and HTTPS. HTTP is applied with Hot Module Replacement (HMR). HTTPS has a built-in certificate for testing.
- npm run build
> Generate production build results. Minify is applied to the result and hmr is excluded.
- npm run watch
> Same as the npm start command, but does not serve the code with HTTP and HTTPS.
- npm run clean
> This command deletes all files in the 'dist' folder. However, the folder below the list is not deleted. If there is a static resource that should not be deleted, create a folder in the folder and use it.
## License
MIT Licensed