A
A
Alexander Grishin2017-11-29 20:17:47
Ruby on Rails
Alexander Grishin, 2017-11-29 20:17:47

How to connect slider-pro using Webpack?

Plugin installed:
npm install slider-pro
How now to connect it in rails 5.1?
I did this but the styles are not loaded (pack/application.js): UPD 1) And what to do with the dependencies in the css files themselves? for example, links to image files i.e. the pictures themselves in the package, etc.? 2) I would not like to specify the path, I would like to just import styles from 'slider-pro'
import 'slider-pro';

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question