Let $$\Gamma $$
Γ
be a compact codimension-two submanifold of $${\mathbb {R}}^n$$
R
n
, and let L be a nontrivial real line bundle over $$X = {\mathbb {R}}^n {\setminus } \Gamma $$
X
=
R
n
\
Γ
. We study the Allen–Cahn functional, $$\begin{aligned}E_\varepsilon (u) = \int _X \varepsilon \frac{|\nabla u|^2}{2} + \frac{(1-|u|^2)^2}{4\varepsilon }\,dx, \\\end{aligned}$$
E
ε
(
u
)
=
∫
X
ε
|
∇
u
|
2
2
+
(
1
-
|
u
|
2
)
2
4
ε
d
x
,
on the space of sections u of L. Specifically, we are interested in critical sections for this functional and their relation to minimal hypersurfaces with boundary equal to $$\Gamma $$
Γ
. We first show that, for a family of critical sections with uniformly bounded energy, in the limit as $$\varepsilon \rightarrow 0$$
ε
→
0
, the associated family of energy measures converges to an integer rectifiable $$(n-1)$$
(
n
-
1
)
-varifold V. Moreover, V is stationary with respect to any variation which leaves $$\Gamma $$
Γ
fixed. Away from $$\Gamma $$
Γ
, this follows from work of Hutchinson–Tonegawa; our result extends their interior theory up to the boundary $$\Gamma $$
Γ
. Under additional hypotheses, we can say more about V. When V arises as a limit of critical sections with uniformly bounded Morse index, $$\Sigma := {{\,\textrm{supp}\,}}\Vert V\Vert $$
Σ
:
=
supp
‖
V
‖
is a minimal hypersurface, smooth away from $$\Gamma $$
Γ
and a singular set of Hausdorff dimension at most $$n-8$$
n
-
8
. If the sections are globally energy minimizing and $$n = 3$$
n
=
3
, then $$\Sigma $$
Σ
is a smooth surface with boundary, $$\partial \Sigma = \Gamma $$
∂
Σ
=
Γ
(at least if L is chosen correctly), and $$\Sigma $$
Σ
has least area among all surfaces with these properties. We thus obtain a new proof (originally suggested in a paper of Fröhlich and Struwe) that the smooth version of Plateau’s problem admits a solution for every boundary curve in $${\mathbb {R}}^3$$
R
3
. This also works if $$4 \le n\le 7$$
4
≤
n
≤
7
and $$\Gamma $$
Γ
is assumed to lie in a strictly convex hypersurface.