Giter VIP home page Giter VIP logo

ssg-mono-repo's Introduction

SSG Mono Repo

A test of various Javascript-based SSG tools.

sveltekit

  1. install sveltekit - https://kit.svelte.dev/docs#introduction-getting-started

  2. install a adapter - https://kit.svelte.dev/docs#configuration-adapter https://github.com/sveltejs/kit/tree/master/packages/adapter-static

  3. install the add-on - https://github.com/svelte-add/mdsvex

Pros: Pretty straightforward. got it working right out of the box. Really clean way to import dynamic components if I want it. Really slick. Installing mdsvex was so slick. It added the code I need automagically. Super fast since it uses VITE.

Things to be aware of:

  • It'snot using .md, but .svx.
  • I had to build my own blog page.
  • It's still in a prototype phase. It says it everywhere
  • I had to

nextjs (NextJS)

  1. npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter"

  2. install the official plugin: https://mdxjs.com/getting-started/next/

    • added a next.config.js

PROS: Works right out of the box.

Things to be aware of:

  • It took a while to install, and takes a while to build. (Since it's using webpack)
  • MDX just generates the markdown, including the frontmatter. So I needed to build my own wrapper to get this working.

Vue / Nuxt

elventy

hexo

ssg-mono-repo's People

Contributors

rockykev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.