It is boilerplate for static sites based on vite vituum and pug(jade),
npm install
npm run dev
npm run build
npm run build
All src and hrefs(like images, scripts and styles) in .pug files must begining from /src ...
You can import all scripts in /src/scripts/app.js and call it in your layout.pug layout.pug :
html(lang="ru")
head
link(rel="stylesheet" href="/src/styles/app.sass")
script(type='module' src="/src/scripts/app.js")
Your pug file:
#svg
header.header
.container
.header__container
.header__top
|copyright
.header__bottom
.header__logo
include ../../../assets/img/header/vite.svg <----svg
#image
section.top
.container
h1.section-title Vituum + Pug Template
.top__content
img(src="/src/assets/img/top/Vituum.png")