Etymology
Today it means: In a vainglorious manner. Full definition →
From vainglorious + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.