title: vuejs router - Require is not defined
body: <p>I am trying to get started with this: <a href="https://github.com/vuejs/vue-router" rel="nofollow">https://github.com/vuejs/vue-router</a></p>
  
  <p>I have cloned the package, and followed the instructions to build:</p>
  
  <pre><code>npm install
  npm run build
  </code></pre>
  
  <p>But I am receiving a "Require is not defined" error on:</p>
  
  <pre><code>var Vue = require('vue')
  var VueRouter = require('../src')
  </code></pre>
  
  <p>in /example/example.js</p>
  
  <p>I have installed node and browserify... Not sure what to do.</p>