DEV Community

0 seconds of 22 minutes, 35 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
22:35
 
JavaScript Joel
JavaScript Joel

Posted on

9 7

make your own custom STATIC SITE GENERATOR with NodeJS

It might be easier to create your own static site generator than learn a new framework.

In this video, I'll create a quick tool to generate a static site using Markdown files.

Note:

in this video I have written code like this:

path.join(path.resolve(), 'src')
Enter fullscreen mode Exit fullscreen mode

But it can also be shortened to this:

path.resolve('src')
Enter fullscreen mode Exit fullscreen mode

Source:
https://github.com/joelnet/static-site-generator

Be sure to subscribe for more videos like this!

Alt Text

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay