atinux / content-wind

A lightweight Nuxt theme to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.

Home Page:https://content-wind.nuxt.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-rendered website does not work (?)

hartmut-co-uk opened this issue · comments

Hi, with a freshly created project from content-wind, generate, preview the pre-rendered website doesn't seem to work, though the generate step seems successful.

Is this a problem with content v2 or with this template?

Reproduce:

npx nuxi init my-website -t atinux/content-wind
cd my-website
yarn install
yarn generate
yarn preview

Now visit http://localhost:3000/about

The 'home' page flickers and then is re-rendered with some error:

Screenshot 2022-06-06 at 12 08 59

I believe the preview command does not support static site generation so far, you can use the serve package on the dist/ directory to preview.