Now Particularly Misnamed

    remix-ssg

    0.0.8 • Public • Published

    Remix SSG

    Simple SSG for Remix.

    Read the Docs

    Quick Start

    1. Initialize a new remix project:

      npx create-remix@latest

      Choose "Just the basics" and the "Remix App Server" when prompted.

    2. Install remix-ssg and serve to serve the static assets:

      npm install -D remix-ssg serve
    3. Update your package.json scripts to use remix-ssg instead of remix and serve instead of remix-serve:

      {
        "scripts": {
          "build": "remix-ssg public",
          "dev": "remix dev",
          "start": "serve -l 3000 public"
        }
      }
    4. Add a getStaticPaths export to your routes. For example app/routes/index.tsx may look like:

      export function getStaticPaths() {
        return ["/"];
      }

    Keywords

    none

    Install

    npm i remix-ssg

    DownloadsWeekly Downloads

    19

    Version

    0.0.8

    License

    none

    Unpacked Size

    27.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • jacob-ebey