shadcn / react_module_boilerplate

Boilerplate for Drupal 8 module with React, ES6, Babel and Webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react_module_boilerplate

Boilerplate for Drupal 8 module with React, ES6, Babel and Webpack.

Installation

  1. Clone this repository.
  2. Run npm install
  3. When done, run npm run start
  4. Go to Structure --> Block Layout.
  5. 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

About

Boilerplate for Drupal 8 module with React, ES6, Babel and Webpack.


Languages

Language:JavaScript 99.9%Language:PHP 0.1%Language:CSS 0.0%