Elderjs / template

Elder.js template project. It is part template, part tutorial. Dive in!
https://elderjs.pages.dev/
MIT License
113 stars 32 forks source link

Blog section not showing for template #41

Closed TotalLag closed 3 years ago

TotalLag commented 3 years ago

Hi, nice project you have here. I am trying to follow the quickstart and have degit the template then ran npm run dev locally on my machine. I am accessing the site via IP vs localhost.

For some reason, I am not able to see the blog section that is suppose to show on Home.

<div class="blog">
  <div class="grid grid-cols-1 gap-4 bg-red-400 sm:grid-cols-3">
    {#each data.markdown as blog}
      <BlogTeaser {blog} {link} />
    {/each}
  </div>
</div>

This part does not render for me and I can't figure if it's a config, server, or I'm missing something.

swyxio commented 3 years ago

i have just run a degit and install and started from scratch per the readme here, and it renders fine:

image

you'll need to give us more info to figure this out

TotalLag commented 3 years ago

well crap. looks like i had some remnants from https://github.com/meigo/elderjs-tailwind as i wanted to try tailwind with it. starting from scratch and manually installing tailwind seem to have worked better.

my mistake. sorry for wasting your time!