Make your own custom STATIC SITE GENERATOR with NodeJS | JavaScript

preview_player
Показать описание
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:

But it can also be shortened to this:

Source:
Рекомендации по теме
Комментарии
Автор

Thank you for this video, I have been searching for the simplest SSG for a while now, and making one myself seems like the perfect solution for the projects I need very minimal CMS-like functionality. Helped me a lot!

CptNelson
Автор

First person i have ever seen actively using the vscode debugger, cool!

snacksy
Автор

Always love seeing the spread syntax being used!

RealDids
Автор

You are an awesome man doing an awesome job...!!! I just needed this...!!! Thank you so much for this...!!!

Hackkit
Автор

hi, Joel I was trying to follow up with this code but how do I get this project up and running, each time I try npm start, or npm run dev, I keep on getting the same error which is "import marked from marked " syntaxError: the requested module 'marked' does not provide an export named 'default'

ibrahimhusssein
Автор

Nice joel would be awesome to see how this would work with a single page app like vue and have it pre-rendered at build time.

rickyu
join shbcf.ru