fosjsrouting-wrapper

Front end wrapper for FOSJSTROUTING bundle

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
fosjsrouting-wrapper
011.0.157 years ago7 years agoMinified + gzip package size for fosjsrouting-wrapper in KB

Readme

Node module for FOSJSROUTING bundle

Installation

npm install --save fosjsrouting-wrapper

Usage in file

import fosInit from 'fosjsrouting-wrapper'

load json via webpack json loader (you can use any method to load routes)

(file you can pipe and save in file system on webpack initialization)

import routes from './yourPathToRoutes.json'
const Routing = fosInit(routes);

Usage as DefinePlugin

todo