Playground

Remix

Link the stylesheet from the root route in Remix or React Router.

Installation

  1. Install the packages

    npm install @monoline/react @monoline/css
    
  2. Link the stylesheet from the root route

    app/root.tsx
    import monoline from '@monoline/css?url';
    
    export const links = () => [{rel: 'stylesheet', href: monoline}];