1
1
Fork 0
Find a file
Steve Coffman 74d08f911d
Merge pull request #9 from StevenACoffman/dependabot/npm_and_yarn/multi-1dd39fdf6a
Bump serialize-javascript and rollup-plugin-terser
2024-09-01 15:04:07 -04:00
archetypes Hugo & Svelte template 2019-10-03 18:07:50 -04:00
layouts Hugo & Svelte template 2019-10-03 18:07:50 -04:00
svelte Hugo & Svelte template 2019-10-03 18:07:50 -04:00
.gitignore Hugo & Svelte template 2019-10-03 18:07:50 -04:00
config.toml Hugo & Svelte template 2019-10-03 18:07:50 -04:00
LICENSE Add LICENSE 2019-10-03 22:18:11 +00:00
package-lock.json Bump serialize-javascript and rollup-plugin-terser 2024-08-30 19:20:28 +00:00
package.json Bump serialize-javascript and rollup-plugin-terser 2024-08-30 19:20:28 +00:00
README.md Updated README.md 2019-10-03 18:13:02 -04:00
rollup.config.js Removed dangling variable hugo 2019-10-29 17:13:31 -04:00

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