turbo_material 0.2.16 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/app/assets/dist/turbo_material/tailwind.css +2552 -1
- data/config/tailwind.config.js +17 -15
- data/lib/generators/turbo_material/install_generator.rb +82 -0
- data/lib/tasks/install.rake +8 -0
- data/lib/turbo_material/configuration.rb +7 -0
- data/lib/turbo_material/version.rb +1 -1
- data/lib/turbo_material.rb +12 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6acaa5f046895098588551b769b676af5ed32d16b56365fa77e3f5a0bd866a
|
4
|
+
data.tar.gz: ecc49f8b01e2c4be612d0660d454e1802c9ed41056941a620f990c5a7703a726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340d9eab231f6772822f0e886a857b07461c79238c04dc768e39b8c020ba6126e24b74126044a5804471c9b48cc7c12016bc195532c052f96e2de706bc9200b7
|
7
|
+
data.tar.gz: 239edb0bd82cd8c888f75af1899252c2d81d0071c6d4edb4f21167fd792b93bfccc60c54b502a84f00caa6b9bda470adf5220c620fd8e38604f753e2eb817652
|
data/README.md
CHANGED
@@ -15,6 +15,8 @@ That list is based on the project from which this library is being extracted. If
|
|
15
15
|
|
16
16
|
## Usage
|
17
17
|
|
18
|
+
Run `rails turbo_material:install` to install the gem and add necessary files to your project. Alternatively, you can follow the steps below.
|
19
|
+
|
18
20
|
Add following to your `app/javascript/controllers/index.js` after `eagerLoadControllersFrom("controllers", application)` line:
|
19
21
|
|
20
22
|
```javascript
|
@@ -26,7 +28,6 @@ Add following to your `app/view/layouts/application.html.erb` in `<head>` sectio
|
|
26
28
|
<link href="//cdn.jsdelivr.net/npm/material-components-web@latest/dist/material-components-web.min.css" rel="stylesheet">
|
27
29
|
<script src="//cdn.jsdelivr.net/npm/material-components-web@latest/dist/material-components-web.min.js"></script>
|
28
30
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
29
|
-
<%= stylesheet_link_tag "turbo_material/tailwind.css" %>
|
30
31
|
```
|
31
32
|
|
32
33
|
### Material Components for Web customizations
|