Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 371 Bytes

File metadata and controls

28 lines (21 loc) · 371 Bytes

babel-plugin-route-names-chain

Instructions

npm i babel-plugin-route-names-chain --save

babel.config.js

module.exports = {
    plugins: [
        'route-names-chain',
    ],
}

Example

Transforms

const name = RouteNamesChain.Checkin.Profile

roughly to

const name = 'Checkin-Prifile'

For more examples, please see the catalog test