S
S
srnsdlmtn2016-03-30 18:19:53
JavaScript
srnsdlmtn, 2016-03-30 18:19:53

How to migrate a ready-made front-end to Ruby on Rails?

There is a ready-made frontend (layout, scripts, reading the contents of a JSON file using jquery + ajax) and there is a simple backend with writing through a form to JSON written in Rails.
The whole frontend is written in the most usual way (html, css, js - files, included jquery and other fonts) The
question is: how can all this be transferred to that Rails project? Maybe there are some special ways? Or you can not bother and just scatter all these files into different folders by writing other paths for pictures, scripts and css?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2016-03-30
@srnsdlmtn

The link is written briefly, accessible and sufficient to complete this task.
guides.rubyonrails.org/asset_pipeline.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question