-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layouts not working in 3.0? #3203
Comments
Line no. 2 of your error log says that,
which means that it's trying to check the Can you please clarify that,
|
All layouts. In 2.0.1 layouts folder was declared in eleventy.js, as shown above:
11ty 3 seems to ignore this setting whatsoever and is looking for layouts inside |
Practically speaking, you can use |
|
To actually answer the question you're asking. Place your layouts directory inside your includes directory.
|
If you upgrade to 3.0.0-alpha.17 or newer you’ll get a better error message via #727. |
Operating system
Windows 11
Eleventy
3.0.0_alpha5
Describe the bug
I'm trying to run my 11ty site in 3.0 as-is, in CJS. I'm getting above error. Layouts folder is declared inside eleventyConfig without changes from 2.0.1:
Reproduction steps
No response
Expected behavior
No response
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: