You should never use liquid nails on vinyl floors as they are used to secure wainscoting, baseboards and similar materials in place. They aren’t a permanent solution and may get dry and produce cracks. However, if you simply want to repair your loosened vinyl floor, liquid nails may work.