1.0.3 • Published 4 years ago
@feizheng/next-redirect-to v1.0.3
next-redirect-to
Redirect to path.
installation
npm install -S @feizheng/next-redirect-to
usage
import '@feizheng/next-redirect-to';
// history is required:
nx.redirectTo({ from: '/', to: '/home', replace: true, hisotry: null })