vercel / nextjs-portfolio-starter

Easily create a portfolio with Next.js and Markdown.
https://demo.vercel.blog
664 stars 263 forks source link

Update next.config.js to make it easier to add plugins #42

Open FanaHOVA opened 8 months ago

FanaHOVA commented 8 months ago

The theme and themeConfig options are passed implicitly. When looking at plugins (like LaTeX) it doesn't explain how to rewrite next.config.js to then pass latex: true as an additional parameter. Rewriting the template explicitly will make it easier for future user to quickly add plugins.