vaderjs 1.3.3-alpha-102 → 1.3.3-alpha-104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -123,6 +123,25 @@ export default function(req, res){
123
123
  }
124
124
 
125
125
  ```
126
+
127
+ ### ServerSide Site Generation (SSG)
128
+
129
+ Vader compiles all code to a static index.html page so your visitors will never have to wait for the page to load, it then rehydrates the page reapplying functionality!
130
+
131
+ We can define some metadata to be used at compile
132
+
133
+ ```jsx
134
+
135
+ export const $metadata = {
136
+ title: "Malik Whitten - Home",
137
+ styles:['/public/css/styles.css'],
138
+ description: "Malik Whitten's personal website",
139
+ icon: "https://avatars.githubusercontent.com/u/123524260?s=200&v=4",
140
+ tags:[`cutom tags to place in head`]
141
+ }
142
+
143
+ ```
144
+ Vader will take the metadata and place it inside of the compiled html file.
126
145
 
127
146
  ### Styling
128
147
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vaderjs",
3
3
  "description": "A Reactive library aimed to helping you build reactive applications inspired by react.js",
4
4
  "module": "vader.js",
5
- "version": "1.3.3-alpha-102",
5
+ "version": "1.3.3-alpha-104",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },