hugo-svelte/README.md
Daniel Atwood b1866e735a Updated README.md
Updated degit link
2019-10-03 18:13:02 -04:00

888 B

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/.