Closed hirasso closed 1 year ago
import Swup from 'swup'; import SwupFragmentPlugin from '@swup/fragment-plugin'; new SwupFragmentPlugin({ rules: [ { between: '/users/*', and: '/users/*', replace: ['#users-list'] }, { between: '/users/*', and: '/user/:name', replace: ['#user-detail'] }, ] });
The API changed a bit during development. Closing this issue as it'a no longer needed.