Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amodinho/umqombothi-hello-world-ssr

An SSR example of Umqombothi
https://github.com/amodinho/umqombothi-hello-world-ssr

Last synced: 21 days ago
JSON representation

An SSR example of Umqombothi

Awesome Lists containing this project

README

        

# Hello World For Umqombothi

This repo serves as a poc for using Pimp My Book's [Umqombothi-component-library](https://github.com/pimp-my-book/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"]
})
);

```