packages/okam-build/lib/processor/json/quick-app-json.js
function getPageInfo(pagePath, prefix) {
    let parts = pagePath.split('/');
    let componentName = parts.pop();
    let pageName = parts.join('/');

    prefix && (pageName = `${prefix}/${pageName}`);
    return {
        pageName,
        componentName
    };
}
function getPageInfo(pagePath, prefix) {
    let parts = pagePath.split('/');
    let componentName = parts.pop();
    let pageName = parts.join('/');

    prefix && (pageName = `${prefix}/${pageName}`);
    return {
        pageName,
        componentName
    };
}
Get the router page information

@inner
@param {string} pagePath the page path
@param {string=} prefix the page name prefix, optional
@return {{pageName: string, componentName: string}}