Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 421 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 421 Bytes

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