Closed adevtobe closed 7 months ago
import your CSS file correctly.
Hi @adevtobe, thanks for reaching out!
npx @11ty/eleventy --serve
only starts the project but it doesn't build the CSS stylesheet out of SASS source files.
Use npm start
or npm run dev
.
Or, if you want to stick to using npx @11ty/eleventy --serve
, in a separate terminal run npm run build:sass
(once) or npm run watch watch:sass
(if you want to edit the CSS).
Let me know if you have any more questions!
Thanks @lwojcik! I'm moving over from Hexo and this is my first time using eleventy so my only experience so far is following their docs. I should have checked the package.json
.
Only other question I have is, is this something that will run fine on Github pages? I wasn't sure if any of the features require an actual backend.
Only other question I have is, is this something that will run fine on Github pages? I wasn't sure if any of the features require an actual backend.
Never tried it but quick googling suggests it should be possible:
First off, I think you theme looks great and I'm excited to use it for my blog however I ran into an issue. After forking it I ran
npm install
and thennpx @11ty/eleventy --serve
. When going tolocalhost:8080
in the browser though, it was evident no CSS was being applied and the console confirmed this. Did I miss a step?