react_module_boilerplate
Boilerplate for Drupal 8 module with React, ES6, Babel and Webpack.
Installation
- Clone this repository.
- Run
npm install
- When done, run
npm run start
- Go to Structure --> Block Layout.
- Place the Hello React block in a region.
Usage
Create your React components inside ./asstes/src/components
. See the App
Component as an example.
License
MIT © Arshad Chummun