maxigimenez / next-medium-blog-boilerplate Goto Github PK
View Code? Open in Web Editor NEWNext.js medium style blog boilerplate
Home Page: https://nextjs-medium-boilerplate.now.sh/
Next.js medium style blog boilerplate
Home Page: https://nextjs-medium-boilerplate.now.sh/
Cover:
core/
components/
Use renderers
attribute from ReactMarkdown
<ReactMarkdown source={body} renderers={{ code: CodeBlock }} />
Warning: You have added a custom /_error page without a custom /404 page. This prevents the 404 page from being auto statically optimized.
See here for info: https://err.sh/next.js/custom-error-no-custom-404
Should we use -> https://nextjs.org/docs/routing/introduction#linking-between-pages
<Link href="/blog/[slug]" as={`/blog/${post.fields.Slug}`}>
<a>
<p>{post.fields.Title}</p>
</a>
</Link>
Instead of fetching the information on each request, we should use getStaticProps
to generate the HTML before hand.
Remove the bootstrap assets
Add a mocked version of an API integration
We need to add revalidate
property on getStaticProps
for both pages in order to enable ISG.
Hi,
What is the license for this code, please?
Kind regards,
John
The selected integration should be defined on the config.json
file and the config/api.ts
needs to read it and initialize whatever is needed for it.
Integrate with notion API
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.