JavaScript Components
Importing Javascript or React Libraries
yarn add @material-ui/core// app/javascript/packs/client_and_server.js
// to import the whole library
Mui = require('@material-ui/core')
// or to import a single component
Button = require('@material-ui/core/Button')Making Custom Wrappers - WORK IN PROGRESS ...
Importing Image Assets via Webpack
jQuery
The dom_node method
Last updated
Was this helpful?
