It would depend entirely on your budget in this case, as Nice is considerably less expensive than Monaco in terms of hotels and Airbnb's etc. Nice is great, but can be sketchy in places. Monaco is incredibly safe. and offers something different as it's a country in its own right, and culturally distinct from France.