question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Layout not working in 0.5.1-beta.3

See original GitHub issue

Getting this error when using layouts;

Uncaught ReferenceError: Layout_MDSVEX_DEFAULT is not defined

Svelte version: 3.20.1 Config:

      svelte({
        extensions: ['.svelte', '.md', '.svx'],
        preprocess: mdsvex({
          remarkPlugins: [slug],
          extension: '.svx',
          layout: {
            "blogpost": "./src/components/MarkdownBlogLayout.svelte"
          }
        }),

post.svx

---
layout: blogpost
---
```html
```MarkdownBlogLayout.svelte
<slot />
<slot name="default" >default</slot> <!-- this line makes no difference -->

Not sure if this is of any value to you, but sharing is caring and all that…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jakobrosenbergcommented, May 24, 2020

This seems to work. Thanks again!

1reaction
pngwncommented, May 23, 2020

I’ve found it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duet 3 Mainboard 6HC Wiring Diagram - Not Maintained
When the expansion board starts up this LED will blank rapidly. If the expansion board is connected to a Mainboard running compatible firmware,...
Read more >
Section 3: Grades 9 to 12 and Adult Education Courses ...
Page 1. Section 3: Grades 9 to 12 and Adult Education Courses. SUBJECT AREA. PAGE. Art/Visual Arts ..
Read more >
atp 6-0.5 command post organization and operations
Inform an organization on issues so that they may adjust plans and actions as required. ○ Avoid conflict and duplication of effort among...
Read more >
Camera not working on iOS16
I installed the iOS16 beta to test the new features and everything works well except the camera, which when I access it the...
Read more >
How formulas work — patsy 0.5.1+dev documentation
What we call a “factor” can represent either categorical or numerical data. Think of factors like in multiplying factors together, not like in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found