I’m working through the todomvc demo using remix run. Remix handles css a bit differently than create-react-app, in that it prefers a link to import a stylesheet and as of today they don’t support css modules. So, I chose the css
scheme and then manually imported all the files.
import footerStyles from '~/components/plasmic/copy_of_todo_mvc/PlasmicFooter.css'
import headerStyles from '~/components/plasmic/copy_of_todo_mvc/PlasmicHeader.css'
import taskStyles from '~/components/plasmic/copy_of_todo_mvc/PlasmicTask.css'
import todoAppStyles from '~/components/plasmic/copy_of_todo_mvc/PlasmicTodoApp.css'
import buttonStyles from '~/components/plasmic/copy_of_todo_mvc/PlasmicToggleButton.css'
import mvcStyles from '~/components/plasmic/copy_of_todo_mvc/plasmic_copy_of_todo_mvc.css'
import defaultStyles from '~/components/plasmic/plasmic__default_style.css'
export const links: LinksFunction = () => {
return [
{ rel: 'stylesheet', href: defaultStyles },
{ rel: 'stylesheet', href: todoAppStyles },
{ rel: 'stylesheet', href: mvcStyles },
{ rel: 'stylesheet', href: buttonStyles },
{ rel: 'stylesheet', href: footerStyles },
{ rel: 'stylesheet', href: headerStyles },
{ rel: 'stylesheet', href: taskStyles },
]
}