FT Edit: Access on iOS and web
Фото: Global Look Press
,更多细节参见新收录的资料
courtesy of Stanford
This downloads the package from a JS CDN and adds it to your vendor directory and updates your config/importmap.rb. The package then gets automatically included in your application with the javascript_importmap_tags ERB tag included in the of the default HTML templates. You can see how this gets expanded if you look at the source of any generated page in your browser: