initial
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// routes/fonts-home/route.ts
|
||||
import { redirect } from "@wordpress/route";
|
||||
var route = {
|
||||
beforeLoad: () => {
|
||||
throw redirect({
|
||||
throw: true,
|
||||
to: "/font-list"
|
||||
});
|
||||
}
|
||||
};
|
||||
export {
|
||||
route
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'module_dependencies' => array(array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '63fba8ad1ac5f2b9aba8');
|
||||
@@ -0,0 +1 @@
|
||||
import{redirect as o}from"@wordpress/route";var r={beforeLoad:()=>{throw o({throw:!0,to:"/font-list"})}};export{r as route};
|
||||
Reference in New Issue
Block a user