You should be able to configure interface VLANs and assign IP address to it. Also, if you are running newer IOS, you can make the ports on ESW to be routed ports and assign IP address rather than VLANs.
PS: Remember to rate useful ports.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: