phoenix_reactor v0.1.0 Mix.Tasks.PhoenixReactor.Install

Installs react, babel and webpack.

Example

mix phoenix_reactor.install

Command line options

  • --no-webpack - omit installing babel and webpack

During installation few files are generated (unless they already exist).

Example of generated files:

./.babelrc
./packages.json
./webpack.config.js
./web/static/js/app.js
./web/static/js/phoenix_reactor.js

Summary

Functions

run(opts)