npx create-remix@latest --template markuslewin/remix-cube
A template for building React websites using the Remix framework and the CUBE methodology.
Heavily influenced by "Build Excellent Websites" (talk, source code) and the Remix Docs.
From your terminal:
npm run devThis starts your app in development mode, rebuilding assets on file changes.
Fonts are imported in styles/global/fonts.css. The PostCSS build step is responsible for copying the font files into public and rebasing the url declarations of the bundled output.
Example:
npm i @fontsource/inter- In
styles/global/fonts.css,@import "@fontsource/inter/variable-full.css";
SVG files added to the svgs folder will be converted in the build step and stored as React components inside app/svgs.
With Netlify CLI:
npm install netlify-cli --globalnetlify initnpm run buildnetlify deploynetlify deploy --prod