Rails 7 , importmap VueJs 3

Here is the committed example app https://github.com/abigoroth/car_maintenance/tree/main

Over here is the example of how to integrate VueJs into rails app

https://github.com/abigoroth/car_maintenance/blob/470ca98c359f6a44cd492a84682083a102fda761/app/javascript/controllers/component_controller.js#L17-L35


Referrance:
https://itnext.io/ruby-on-rails-7-importmaps-and-vuejs-3-no-more-webpacker-4ef06372a49c
https://stackoverflow.com/questions/42343778/vue-is-not-a-constructor/74339889#74339889
https://www.tutorialspoint.com/vuejs/vuejs_events.htm

will have a look into this:
https://github.com/zakariaf/rails-base-app



Doing this as of today: Git clone in docker


Comments

Popular posts from this blog

ELK - Elastic | Logstash | Kibana

Akibat dari tiada jadual selenggara

Cordova CORS-CORB over laravel api server