Not sure about preferred ways but you can try to use this package - https://github.com/marcsauter/single