bulma_form_rails 0.9.7 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -2
- data/lib/bulma_form_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19477ff6e01f55d5d5318e5ddcc3ed0f0904d421bd326347179f37d0c2dff543
|
4
|
+
data.tar.gz: 60c59ce63bab58d620e8afa2bbdcde0a22e410a771667e9d5c4f80f89e019ce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de1e24d417bd4eefc62d3138bc3c7a2ae00d379b25e0b0f720798f3a3afad928ad6eec1387dc0e232963c730b2654f4a9972752884f32fff31bb33b4d35e634a
|
7
|
+
data.tar.gz: 60676dca8ea7aab027b3c05e0677f5b3deec88fbe09d7de2f1c3f95c1e4dc60205dc9a2f6836614743c5b10f0021aca24d312a4b54377340cc847730360ee33d
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -33,16 +33,25 @@ https://moderngeosystems.com
|
|
33
33
|
* `bulma_edit_form_page`
|
34
34
|
|
35
35
|
## Prerequisites
|
36
|
+
### Installing Bulma
|
36
37
|
You should have generated your application using something similar to the following command:
|
37
38
|
```bash
|
38
39
|
$ rails new -c bulma app_name
|
39
40
|
```
|
40
|
-
Or for an existing application, you should install Bulma as the Rails application generator would have
|
41
|
+
Or for an existing application, you should install Bulma as the Rails application generator would have:
|
41
42
|
```bash
|
42
43
|
$ bundle add cssbundling-rails
|
43
44
|
$ bin/rails css:install:bulma
|
44
45
|
```
|
45
|
-
|
46
|
+
#### If you were using importmaps in an existing application
|
47
|
+
You may need to remove these lines from `app/assets/config/manifest.js`:
|
48
|
+
```javascript
|
49
|
+
-//= link_tree ../../javascript .js
|
50
|
+
-//= link_tree ../../../vendor/javascript .js
|
51
|
+
```
|
52
|
+
and you may need to replace `<%= javascript_importmap_tags %>` with `<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>` in `app.views/layouts/application.html.erb`.
|
53
|
+
### Installing Pagy
|
54
|
+
You will need to install the Pagy gem if you haven't already done so:
|
46
55
|
```bash
|
47
56
|
$ bundle add pagy
|
48
57
|
```
|
@@ -60,6 +69,7 @@ Continue your installation by executing:
|
|
60
69
|
$ bin/rails bulma_form_rails:install
|
61
70
|
$ bin/rails generate bulma_form_rails:pagy_config
|
62
71
|
$ bin/rails generate bulma_form_rails:views
|
72
|
+
$ bin/rails assets:precompile
|
63
73
|
```
|
64
74
|
`rails bulma_form_rails:install` will add required resources to your application.
|
65
75
|
The Rails generators will create your initial implementation view and configuration templates. If you modify the generated files, you might not want to to run these generators again.
|
data/package.json
CHANGED