Skip to content

Commit

Permalink
Show virtual-hyperscript being required.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed Sep 14, 2014
1 parent c2bc53c commit d229067
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Using browser script tag and global (UMD wrapper):
Create a component:

```javascript
var h = require('virtual-hyperscript');
var VirtualComponent = require('virtual-dom-component');

var LoginForm = VirtualComponent.extend({
render: function (state) {
return h('form', [
Expand Down

0 comments on commit d229067

Please sign in to comment.