I'm reading Tammo tom Dieck's algebraic topology book about Seifert-van Kampen theorem (Theorem 2.6.2).
(2.6.2) Theorem (Seifert-van Kampen). Let $X_0$ and $X_1$ be subspaces of $X$ such that the interiors cover $X$. Let $i_v:X_{01}=X_0\cap X_1\to X_v$ and $j_v:X_v\to X$ be the inclusions. Suppose that $X_0,X_1,X_{01}$ are path connected with base point $\ast\in X_{01}$. Then \begin{matrix}\pi_1(X_{01},\ast) & \to & \pi_1(X_0,\ast)\\ \downarrow&&\downarrow \\ \pi_1(X_1,\ast) & \to & \pi_1(X,\ast) \end{matrix} is a pushout in the category of groups.
But the statement of Seifert-van Kampen theorem in nlab does not require $X_0$ and $X_1$ to be path connected, which says:
Theorem. Let $X$ be a topological space covered by open subsets $X_0,X_1\subset X$ such that $X_{01}=X_0\cap X_1$ is path connected. Then for any choice of base point $\ast\in X_{01}$, \begin{matrix}\pi_1(X_{01},\ast) & \to & \pi_1(X_0,\ast)\\ \downarrow&&\downarrow \\ \pi_1(X_1,\ast) & \to & \pi_1(X,\ast) \end{matrix} is a pushout in the category of groups. https://ncatlab.org/nlab/show/van+Kampen+theorem
My question: Is the the version of Seifert-van Kampen theorem in nlab correct ? If it is correct, is the the version of Seifert-van Kampen theorem in nlab a corollary of the version of Seifert-van Kampen theorem in Tammo tom Dieck's book?
I couldn't find the proof for the version of Seifert-van Kampen theorem in nlab after searching the Internet. Can anybody help me? Thanks!
EDIT: This problem still needs to be solved.
Our attempts are as following: For a pointed space $Z$ write $\tilde{Z}$ for the path-component containing the basepoint. Under the hypothesis of nlab's theorem, following the comments by Tyrone, we have $\tilde{X}=\tilde{X_0}\cup \tilde{X_1}$ and $\tilde{X_{01}}=\tilde{X_0}\cap \tilde{X_1}$. But to apply Dieck's theorem, as commented by Paul Frost, we must know that $\tilde{X}$ is covered by the interiors of $\tilde{X_0}$ and $\tilde{X_1}$ rel $\tilde{X}$. But this can not be seen easily.
The version of Seifert-van Kampen theorem in nlab still needs a proof. (Even if not as an corollary of the version in tom Dieck.) Can anybody give some reference or idea ?