Integration with Ruby on Rails and portamos


Topic: Integration with Ruby on Rails and portamos

recunet pro premium priority asked 2 years ago

Integration With rails 7

Can´t integrate with the current oficial documentation

Can you please help me with a rails 7 integration with portamos and more updated integration for this version

Pin npm packages by running ./bin/importmap

Here is an example of config/importmap.rb file in the current documentation docent mention , and this is important for rails 7, for these reason I can't integrate 100% MDB5

pin "application", preload: true pin "bootstrap", to: "https://ga.jspm.io/npm:bootstrap@5.2.3/dist/js/bootstrap.esm.js" pin "popper", to: "https://ga.jspm.io/npm:@popperjs/core@2.11.7/lib/index.js"


Grzegorz Bujański staff answered 2 years ago

I checked our integration manual and after creating the project there is no config/importmap.rb file. Are you using command rails new toDoApp -j esbuild -d mysql to put up the project?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.3.1
  • Device: PC
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: No
  • Provided link: Yes