solidus_nexio 0.6.4 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/app/assets/javascripts/solidus_nexio/checkout.js +394 -2
- data/app/helpers/solidus_nexio/checkout_helper.rb +1 -0
- data/lib/solidus_nexio/version.rb +1 -1
- data/lib/solidus_nexio.rb +4 -0
- metadata +3 -4
- data/app/assets/javascripts/solidus_nexio/checkout.js.LICENSE.txt +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aea764bbf307b39527d328ab148239c95606f93a35388e4ae6833d995fd1a863
|
4
|
+
data.tar.gz: 5502b4c79c8e57ba889960fa9af786048d69d114d871a3b0660e1c0147a629aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a93c517127899f12d30d6a4d7b450a7d66bd6f9869eaf64eb2d1532737c614613b0378c5aa403286d45aedc42b01a0d43e9f2ffc4180525df6ee7d85af08e0d4
|
7
|
+
data.tar.gz: 7e2b2e8c9f661cdca9a999bb2d5f139092d58871ed170d8865aba4f09485a7716c6bd24395eebf2a9713f6f18ff0620cbc77da0b4ea0907d1559de286315b260
|
data/README.md
CHANGED
@@ -24,11 +24,24 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
TODO: Write usage instructions here
|
26
26
|
|
27
|
-
## Development
|
27
|
+
## Frontend Development
|
28
28
|
|
29
|
-
|
29
|
+
1. Set the `development` mode for the webpacker in line #22 of `webpack.config.js`
|
30
|
+
```
|
31
|
+
mode: 'development',
|
32
|
+
```
|
33
|
+
2. Add the gem as a local one in your app `Gemfile`
|
34
|
+
```
|
35
|
+
gem 'solidus_nexio', path: '~/apps/solidus_gems/solidus_nexio'
|
36
|
+
```
|
37
|
+
|
38
|
+
2. Uncomment the line #45 in `app/helpers/solidus_nexio/checkout_helper.rb`
|
39
|
+
```
|
40
|
+
`cd #{::SolidusNexio.gem_dir}; yarn webpack --config webpack.config.js` if Rails.env.development?
|
41
|
+
```
|
30
42
|
|
31
|
-
|
43
|
+
3. Reload the page you're debugging after any change in a js-file.
|
44
|
+
4. *Nota Bene* -> Revert all changes above after your development is completed.
|
32
45
|
|
33
46
|
## Contributing
|
34
47
|
|