Local Development
This documentation needs work. See "Help improve this page" in the sidebar.
React components and build tools are located in 'react' folder.
Enter 'react' folder and install node modules necessary for theme
and development by running 'npm i'.
Theme uses Webpack for development and build processes.
There are 2 webpack configuration files for development and
production build.
For development run 'npm run dev' and theme will be available on
the address 'http://localhost:8080' with hot reloading enabled.
It uses webpack.dev.config.js
For building run 'npm run build' and it will use
webpack.prod.config.js. Created files are called
bundle.js and bundle.css and files will be placed to 'build'
folder in theme root. Theme's libraries.yml file defines
created files as theme's assets.
Reactify uses 'reactify_utilities' module for creation of theme settings,
REST endpoints and authentication.
Even though Drupal 8 provides good foundation for REST services,
some features still were added.
Module can serve as example for building custom functionality.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion