AmoDinho / umqombothi-hello-world-ssr

An SSR example of Umqombothi

Home Page:https://codesandbox.io/s/github/AmoDinho/umqombothi-hello-world-ssr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World For Umqombothi

This repo serves as a poc for using Pimp My Book's Umqombothi-component-library with Next.JS

Key thing to note is that in your next.config.js, you've got to export the next-transpile-modules with Umqombothi to allow Next to read the CSS and JSX.

EXAMPLE:


const withTM = require("next-transpile-modules");
const withCSS = require("@zeit/next-css");

module.exports = withCSS(
  withTM({
    transpileModules: ["umqombothi-component-library"]
  })
);

About

An SSR example of Umqombothi

https://codesandbox.io/s/github/AmoDinho/umqombothi-hello-world-ssr


Languages

Language:JavaScript 94.9%Language:CSS 5.1%