Remix plugin
This plugin generates Remix related artifacts using opinionated coding conventions and patterns. See the following reference for further details:
This plugin consists of two generators:
- Remix app generator: generates a base app with support for jest, react-testing-library, and storybook
- Page generator: for generating application pages
This plugin is intended to be used in conjunction with the React plugin for the following generators:
- React library generator: for generating a reusable library of React components
- Component generator: for generating React components in a standardized format
- Context generator: for generating React context using the pattern described in How to use React Context effectively by Kent C. Dodds
Installation
Prerequisites
Before installing this plugin, make sure that you have installed the shaper
CLI and created a monorepo for your code. See
Setting up a monorepo for
instructions.
Add the following dev dependencies at the root of your code repository:
npm install -D @code-shaper/react @code-shaper/remix
For step-by-step instructions on how to use plugins, see Getting Started.
Example
https://github.com/code-shaper/movie-magic/tree/main/apps/movie-magic-remix
Repository
https://github.com/code-shaper/code-shaper/tree/main/plugins/remix