houdini/lib/generators/react/packroot/USAGE
2018-03-29 14:10:27 -05:00

9 lines
321 B
Text

Description:
Used for generating a new packroot for a page on Webpack
Example:
rails generate react:packroot Name
This will create:
A file named javascripts/app/name.ts which refers to a newly created component at
javascript/src/components/name/name.tsx (uses the react:component generator)