The effectiveness of a vaccine is related to the effectiveness of the bodies immune response to the virus.
As long as different mutations do not affect the effectiveness of a given immune response provided for by a vaccine, that vaccine will be effective against those mutations.
Mutations can affect many aspects of a disease, and often this means a different level of effectiveness of an immune response, but it really does depend on the specific mutation.
For now, there are no selection pressures on different strains from vaccines; it will be interesting to see what mutations become prevalent once testing of vaccines starts.
https://shotofprevention.com/2018/03/14/how-flu-strains-are-...