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.

Svelte using AFRAME https://aframe.io/

See original GitHub issue

When I am using Svelte for my augmented reality project. it is giving me the variable name AND giving me the variable value.

This is what’s happening

<script> let name = 'world'; </script> <h1>{name}</h1>

and the result is this :

name=‘world’ Inside of an H1 tag instead of just giving me the variable.

Is there any ideas on how to fix this? I’m not sure if other people have run into the same issue. if needed I can throw my whole project onto a link, but I have it running locally at the moment for AR development.

Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Darrel-Collinsworthcommented, Nov 12, 2019

Op, my bad, I didn’t think to put the original svelte code; just the compiled code. I’ll update the repo with the full code today or tomorrow. Thank you so much for getting back to me!

0reactions
antonycommented, Dec 24, 2019

@Darrel-Collinsworth can you upload these source files?

Read more comments on GitHub >

github_iconTop Results From Across the Web

aframe-svelte in action • REPL • Svelte
Interactive Svelte playground.
Read more >
Introduction - A-Frame
Performance: A-Frame is optimized from the ground up for WebVR. While A-Frame uses the DOM, its elements don't touch the browser layout engine....
Read more >
svelte-aframe - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
Read more >
Aframe-svelte NPM
aframe -svelte. Ever want to load a svelte component in aframe as a component? No? Well I did it anyhow. npm.io. API. multiple:...
Read more >
aframe-svelte - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix ...
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