Following the 11ty tutorials and on Lesson 2. Running into a question and then an issue.
Question: when setting up the eleventy.js file we indicate that the input folder is ‘src’ and the output is ‘dist’. I assume when 11ty runs it takes the files in ‘src’, builds the site, then outputs it to a folder called ‘dist’. But that’s not the case, the site is outputted to a folder called ‘_site’. What am I missing here? Is ‘dist’ just a keyword that means use a default ‘_site’ directory?
Issue: after executing the ‘npx @11ty/eleventy --serve’ line, when I try to view the localhost site it gives me an error page with “cannot get /” displayed on it. Does anybody know what I’m doing wrong here? I’ve followed the tutorial exactly.