Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmmhmmhm/svelte-spa-template
🚧 An easy-to-use Svelte SPA template! (Svelte + Typescript + Parcel + Express) 2020
https://github.com/hmmhmmhm/svelte-spa-template
express hmr nodejs parcel split svelte svelte-example svelte-spa-template svelte-template svelte-v3 svelte3 typescript
Last synced: 4 months ago
JSON representation
🚧 An easy-to-use Svelte SPA template! (Svelte + Typescript + Parcel + Express) 2020
- Host: GitHub
- URL: https://github.com/hmmhmmhm/svelte-spa-template
- Owner: hmmhmmhm
- License: mit
- Created: 2019-11-30T05:05:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:19:07.000Z (about 2 years ago)
- Last Synced: 2024-09-29T12:02:01.094Z (4 months ago)
- Topics: express, hmr, nodejs, parcel, split, svelte, svelte-example, svelte-spa-template, svelte-template, svelte-v3, svelte3, typescript
- Language: TypeScript
- Size: 947 KB
- Stars: 41
- Watchers: 3
- Forks: 3
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚧 Svelte SPA Template
> Svelte + Typescript + Parcel + Express
An 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.