UNPKG

webpack-router-generator

Version:

A routing list is generated automatically according to the information defined in the file, which is used in webpack.

7 lines (6 loc) 104 B
export default function Test() { return <div>Test Page</div> } Test.route = { path: "/test" }