What's the best way to integrate to a new Rails project?
hi, I have buy metronic themes and be ready to use them in my ruby on rails project, however, metronic theme is huge for me, so can you tell me: How I build my prototype? How I reduce the unnecessary js,css？ How I make my layout? ... I need your best suggestion, thank all.
You can use the HTML version to integrate into your existing project because you will use the HTML template.
You can go to the index.html template and check the CSS and js included in the template head and foot. Once you fully understand what are CSS and js files to include in each page of your application the rest will be quite easy.
2. You can use the layout builder to prepare your HTML template. For example, if you are using the demo1 you can go to the online preview of the demo:
The layout builder helps you to configure the layout with available options and preview it in real-time. Once you decide what configuration you like to use you can download the HTML code of your preferred configuration. To do so go to the bottom of the page and find the "Export" button and you will get a package containing the HTML template with the partials(header, aside, footer, etc) that can be used for your server-side integration. The export package provides you with only the HTML code with structured includable partials that are perfect for server-side integration. The assets can be included in your local download version.
3. Once you integrated the master layout and all the menus and navigation you can proceed with your inner pages by referring to the original theme demos.
4. Also as the main reference to the available features, you can refer to the demo pages' source code for each feature.