I'm talking about the mechanics which uses the minimisation of integral of $L=T-V$ to deduce motion paths.
I've read it is a more generalised version of Newton's formulation because it can be used with generalised co-ordinates.
But when we say $\vec{f}=\frac{d\vec{p}}{dt}$, we are simply referring to a law independent of cartesian co-ordinates. If one wants, one can encode $\vec{f}$ and $\vec{p}$ in polar co-ordinates and deduce the laws of motion in those co-ordinates using the same equation,$\vec{f}=\frac{d\vec{p}}{dt}$, right? The point is that $\vec{f}$ is simply a vector quantity obeying the triangle law of addition. We can encode the vector in rectangular co-ordinates and perform the vector addition using $(x,y)+(z,w)=(x+y,z+w)$, or we can encode it in polar co-ordinates and perform the addition $(x,t)+(y,p)$ using law of co-sines. In the end, both additions rules are following the triangle law.
So the only difference between the two mechanics is that the Newtonian one gives us the behavior of a particle in immediate future given initial conditions and instantaneous forces, while the Lagrangian one gives us the long-term behavior given initial and final end points and the potential field (potential seems like the substitute for Force in this mechanics as it encodes everything about the Force in a scalar field). Is this correct?
So what makes the Lagrangian formulation more fundamental? If anything, the Newtonian formulation seems more fundamental because it can work fine with non-conservative forces, as non-conservative forces can't be encoded as a potential field. Also, as local behavior leads to global behavior instead of the other way around, Newton's laws cause the action to be minimised instead of the other way around.
And how do we even directly talk about potential as a fundamental quantity in Lagrangian mechanics? Unlike forces, there's no way to directly compute potential. We can arrive at $F=\frac{GMm}{r^2}$ by simply measuring accelerations of planets. With potential, we can't compute it without referring to force first, as the formula is $\int Fds$