ClassicD,
As long as the clients in each of those networks have the switch as their default gateway (192.168.0.254 for clients in vlan1 and 10.0.0.254 for clients in vlan2) you don't need to add static routes, because the switch knows how to route between those subnets. Just make sure routing is enabled with the command
enable ipforwarding
If the clients have a different default gateway (not the switch), then you will have to configure static routes in those external routers.
The router acting as default gateway in subnet 192.168.0.0/24 should have a route to 10.0.0.0/24 with 192.168.0.254 as next hop, while the router in subnet 10.0.0.0/24 should have a route to 192.168.0.0/24 pointing to 10.0.0.254 as next hop.