Depending on what you mean by "D&D style," you probably don't.
Vancianesque fire and forget spells, which 5e tweeked to fire and lose slots - but it's still heavily attrition based.
4e "solved" this by having ALL classes on the same attrition model - but it's still an attrition model.
So this is actually a fairly tall, difficult undertaking.