volt 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +10 -0
- data/VERSION +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d850ea69ed3a54a40901ca07f222787fffe6d2e6
|
4
|
+
data.tar.gz: 06ce97012687d205dcd2cc11f4ee129dc60b56e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8957e60e5b579114f897d41e08896c202009dfaf0ff36168919920b48ab3441c0294256a8e556523b24aef3a792148c650d6a5d0b1acbc875b8f440b7b5a90db
|
7
|
+
data.tar.gz: c4e3277c5dc38183efa7a95bbd01bb11dc38396cb2ffa04baba6633e567f7ef5b821a92903d162f608c95af88e273d2f759f1eabb697ca38a9be74217dd72cc7
|
data/Readme.md
CHANGED
@@ -57,6 +57,8 @@ You can access the volt console with:
|
|
57
57
|
4. [Attribute Bindings](#attribute-bindings)
|
58
58
|
2. [Models](#models)
|
59
59
|
3. [Components](#components)
|
60
|
+
1. [Assets](#assets)
|
61
|
+
2. [Component Generator](#component-generator)
|
60
62
|
4. [Controls](#controls)
|
61
63
|
5. [Routes](#routes)
|
62
64
|
1. [Routes file](#routes-file)
|
@@ -326,6 +328,14 @@ in the file.
|
|
326
328
|
|
327
329
|
Dependencies act just like require in ruby, but for whole components.
|
328
330
|
|
331
|
+
## Assets
|
332
|
+
|
333
|
+
**Note, asset management is still early, and likely will change quite a bit**
|
334
|
+
|
335
|
+
In volt, assets such as JavaScript and CSS (or sass) are automatically included on the page for you. Anything placed inside of a components asset folder is served at /assets (via [Sprockets](https://github.com/sstephenson/sprockets)) Link and script tags are automatically added for each css and js file in assets/css and assets/js respectively. Files are included in their lexical order, so you can add numbers in front if you need to change the load order.
|
336
|
+
|
337
|
+
Any JS/CSS from an included component or component gem will be included as well. By default [bootstrap](http://getbootstrap.com/) is provided by the volt-bootstrap gem.
|
338
|
+
|
329
339
|
## Component Generator
|
330
340
|
|
331
341
|
Components can easily be shared as a gem. Volt provides a scaffold for component gems. In a folder (not in a volt project), simply type: volt component {component_name} This will create the files needed for the gem. Note that all volt component gems will be prefixed with volt- so they can easily be found by others.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|