Skip to content

Commit 63b5834

Browse files
committed
Replace latest version with specific version
Apparently latest doesn't work with jspm.
1 parent 26e0407 commit 63b5834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/web-support/rails.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ Or, if you use `importmaps', you can:
2525
1. Download to local vendor directory (optional but recommended)
2626

2727
```bash
28-
$ wget -O vendor/javascript/apexcharts.esm.js https://ga.jspm.io/npm:apexcharts@latest/dist/apexcharts.esm.js`
28+
$ wget -O vendor/javascript/apexcharts.esm.js https://ga.jspm.io/npm:apexcharts@3.54.0/dist/apexcharts.esm.js
2929
```
3030

3131
2. Pin "apexcharts" in `config/importmap.rb` to local esm file if you did No. 1:
3232

3333
```ruby
34-
pin "apexcharts", to: "apexcharts.esm.js"`
34+
pin "apexcharts", to: "apexcharts.esm.js"
3535
```
3636

3737
or, to CDN URL directly if you didn't do No. 1:
3838

3939
```ruby
40-
pin "apexcharts", to: "https://ga.jspm.io/npm:apexcharts@latest/dist/apexcharts.esm.js"`
40+
pin "apexcharts", to: "https://ga.jspm.io/npm:apexcharts@3.54.0/dist/apexcharts.esm.js"
4141
```
4242

4343
3. Import and assign to window in `app/javascript/application.js`

0 commit comments

Comments
 (0)