-
Notifications
You must be signed in to change notification settings - Fork 179
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
component at layout.html compile error #251
Comments
I can't reproduce this. The code runs just fine when I use the Can you create a minimal reproduction/implementation example? (e.g. a gh repo, or a simple Maybe details about System (Windows, Linux, Mac, ...), Nuekit version, runner (node, bun, ...), package manager (bun, yarn, npm, pnpm, ...) can help too. Thank you |
Thank you for your reply. If there is One Of MacOS 13.2.1 (22D68)
|
I don't think this code should be defined in a layout file. But I also don't know how to do server side components, but here are related discussions / issues:
cc @tipiirai maybe you can tell those / this issue if/how this is already implemented, or if this is just missing from the docs? Edit: It seems like nue does not support server side (runtime) components, but only layout components that are compiled away on compile/build time |
I defined a component at site-level
layout.html
, it runs ok if there is no<script>
block;An error raised
parse error layout.html
for codes:The text was updated successfully, but these errors were encountered: