Electrically tunable nanophotonic device based on the integration of resonant dielectric metasurfaces supporting quasi bound states in the continuum with atomically thin semiconductors.