Ramadan is mostly associated with avoiding food and water, but there are also several lifestyle habits which Muslims must refrain from during fasting hours.
And that includes smoking or vaping.
Indulging in either immediately means the fast - which runs from pre-dawn to dusk - is broken.