tymate / tymulus

js depencies for tybo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stimulus controllers for ruby gem tybo (Custom admin engine for Ruby on Rails)

NPM/JSPM package

The Stimulus controllers required for the components to work properly must be published in an NPM package and then listed on JSPM so that they can be loaded by importmaps.

To put a new version online, it is necessary to :

  1. Update the version number in the package.json file.
  2. Run npm run build
  3. GET https://api.jspm.io/build/@tymate/tybo@<version number> in order to build a queue request on JSPM
  4. Once the request is processed (it is possible to track through the JSPM:Generator), retrieve the new link and update it in the config/importmap.rb of the Rails project.

About

js depencies for tybo


Languages

Language:HTML 46.2%Language:Ruby 33.7%Language:JavaScript 20.1%