Pass pageConfig into module