Link Resolver

We recommend you use the more modern Route Resolver whenever possible over the Link Resolver. We now only recommend to use the Link Resolver as an escape hatch.

You can make the module use a Link Resolver. To do so, export one from ~/app/prismic/linkResolver:

export default (doc) => {
    if (doc.type === 'page') {
        return `/${doc.uid}`
The default path (~/app/prismic/linkResolver) can be changed with the linkResolver option. See the module configuration ->