Allying nanophotonic structures with two-dimensional van der Waals materials