How to fund roads and ensure electric vehicles pay their share

Since electric vehicles use no gasoline, their drivers pay no gasoline tax. And as more people drive EVs, gas-tax revenue for road repairs is dwindling. So how can California and the rest of the country avoid road-funding shortfalls and ensure that EV drivers pay their share of needed repairs?