Rails
This is a guide to install pages core and dependencies on Rails 6
Required Libraries
PLUGIN | DESCRIPTION | DEP. STATUS |
jquery.js | Core JS Library | REQUIRED |
mordnerizer.js | Browser Feature Detection | REQUIRED |
bootstrap.js | Core Framework | REQUIRED |
pace.js | Page Progress Loader | OPTIONAL |
jquery-unviel.js | Library Used for displaying retina images | OPTIONAL |
jquery.ioslist.js | Used Chat list on the quickview | OPTIONAL |
jquery.actual.js | Determine image dimentions | OPTIONAL |
jquery.scrollbar.js | Scrollbar plugin used in sidebar and portlets | OPTIONAL |
Add the following dependencies in your package.json. Inside "dependencies" object
Run the command to install the dependencies to your project
Import the libraries to webpack by adding it to the following file config/webpack/environment.js
Update config/webpacker.yml
to be able to resolve assets stored in the app/assets
folder.
Import css/scss dependencies into our main webpack application.scss
: in app/assets/stylesheets
Thats it! you can use the pages layouts mentioned below
LayoutsLast updated