mirror of
https://gitlab.com/datwood/hugo-svelte.git
synced 2025-04-01 10:00:58 +00:00
No description
archetypes | ||
layouts | ||
svelte | ||
.gitignore | ||
config.toml | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
rollup.config.js |
Hugo-Svelte app
This is a project template for Svelte and Hugo apps. It lives at https://gitlab.com/datwood/hugo-svelte.
To create a new project based on this template using degit:
npx degit git@gitlab.com:datwood/hugo-svelte.git hugo-svelte
cd hugo-svelte
Note that you will need to have Node.js installed.
Get started
Install the dependencies...
cd hugo-svelte
npm install
...then start Rollup and Hugo:
npm run dev
Navigate to 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:
npm run build
You will find your website files inside public/
.