Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenacoffman/hugo-svelte
Mirror of https://[email protected]:datwood/hugo-svelte
https://github.com/stevenacoffman/hugo-svelte
hugo svelte sveltejs
Last synced: 2 months ago
JSON representation
Mirror of https://[email protected]:datwood/hugo-svelte
- Host: GitHub
- URL: https://github.com/stevenacoffman/hugo-svelte
- Owner: StevenACoffman
- License: gpl-3.0
- Created: 2019-11-23T19:53:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T23:38:43.000Z (4 months ago)
- Last Synced: 2024-10-31T04:50:25.294Z (2 months ago)
- Topics: hugo, svelte, sveltejs
- Language: JavaScript
- Size: 118 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hugo-Svelte app
This is a project template for [Svelte](https://svelte.dev) and [Hugo](https://gohugo.io) apps. It lives at https://gitlab.com/datwood/hugo-svelte.
To create a new project based on this template using [degit](https://github.com/Rich-Harris/degit):
```bash
npx degit [email protected]:datwood/hugo-svelte.git hugo-svelte
cd hugo-svelte
```*Note that you will need to have [Node.js](https://nodejs.org) installed.*
****
## Get startedInstall the dependencies...
```bash
cd hugo-svelte
npm install
```...then start [Rollup](https://rollupjs.org) and Hugo:
```bash
npm run dev
```Navigate to [localhost:1313](http://localhost:1313). You should see your app running. Edit a component file in `svelte` and save it. Livereload is built-in.
## Building
From within your project folder:
```bash
npm run build
```You will find your website files inside `public/`.