hugo-svelte Svelte Themes

Hugo Svelte

Mirror of https://[email protected]:datwood/hugo-svelte

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 [email protected]: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/.

Top categories

Loading Svelte Themes