elmasse / nextein

A static site generator with markdown + react for Next.js

Home Page:https://nextein.elmasse.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not merging with defaultPathMap?

IceOnFire opened this issue · comments

I successfully followed step 3 of the tutorial, but when I export my static website all the routes that were previously auto-generated by Next are available no more, I have to re-declare them explicitly like so:

exportPathMap: defaultPathMap => ({
  ...defaultPathMap, // this doesn't even work
  '/blog': { page: '/blog' },
  '/about': { page: '/about' }, // this was auto-defined before using nextein
}),

I'm using next ^7.0.1 and nextein ^2.0.0.

That was fast, thank you! ^^