Basic question about making synth audio plugin(vst)

Hi there, I’m new at using Juce and can’t get my head around a (probably) very stupid problem.
So, i have already made and tested a working effect plugin to use in my Daw, i now want to develop a very basic synth(some oscillators, midi input…).
I tried following the tutorials but every tutorial use audio application or different template than audio plugin. I tried rewriting them in audio plugin to get a vst, to build vst with those tutorials project, searched online for several already done codes to understand what im missing but i always get a number of errors or problems and i cant make a very simple synth vst to use in the daw.
What im missing?