Closed Nicolab closed 9 years ago
Hi,
'use strict'; var Grapnel = require('grapnel'); var router = new Grapnel({hashBang: true}); router.get('hello', function() { console.log('route ', arguments); });
This code works if Grapnel is added with , but does not work with require('grapnel') (Webpack).
require('grapnel')
Any idea please? Thanks
Hi,
This code works if Grapnel is added with , but does not work with
require('grapnel')
(Webpack).Any idea please? Thanks