The following is a theorem from Dugundji's "Topology".
In the space $\Pi_{\lambda\in\Lambda}Y_\lambda$, $\forall\lambda\in\Lambda,$ let $\Sigma_\lambda$ be a subbasis for the topology $\tau_\lambda$ of $Y_\lambda$.Then the family $\{\pi_{\beta}^{-1}(V_\beta)|\ all\ V_\beta\in\Sigma_\beta;\ all\ \beta\in\Lambda\}$ is also a subbasis for the cartesian product topology in $\Pi_{\lambda\in\Lambda}Y_\lambda$.
I think it suffices to prove that the aforementioned product topology is the smallest topology on that product such that it contains the set $\{\pi_{\beta}^{-1}(V_\beta)|\ all\ V_\beta\in\Sigma_\beta;\ all\ \beta\in\Lambda\}$. This result seems to be an "easy-to-prove" result. But I cannot find a way to write one such rigorous proof. Could someone please help? Thank you.