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.

use moon in browser

See original GitHub issue

hey @kbrsh I really need help

in a Project, I have to use the moon in browser but actually I don’t have any idea how to use it

there are two formats in moon can use it through the browser

  1. requirements ( moon and moon-browser )
<div id="root"></div>

<script type="text/moon">
  const paragraph = (<p>Hello {{ message }}</p>);
</script>
  1. requirements ( moon-mvl and idk )
<div id="root"></div>

<script type="text/mvl">
  <p>Hello {{ message }}</p>
</script>

I want to use format 2 but

Please explains Two ways to how to use it in browser

and how to add moon-driver and moon.use to them

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kbrshcommented, Oct 23, 2019

It works with beta 4 as well, the problem is that you’re not using the latest beta. You’re using the build directly from the master branch, which is unstable and undocumented. You’ll need to download it directly from the releases, NPM, or a CDN like unpkg.

0reactions
sadeghbaraticommented, Oct 23, 2019

How should I know that I should not use the new version? worked with v1.0.0-beta.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Moon - A cross browser Selenium, Cypress, Playwright and ...
Moon is a browser automation solution compatible with Selenium, Cypress, Playwright and Puppeteer using Kubernetes or Openshift to launch browsers.
Read more >
The Pale Moon Project homepage
Pale Moon is an Open Source, Mozilla-derived web browser available for Microsoft Windows and Linux, focusing on efficiency and ease of use.
Read more >
Moon, Now on Any Browser and Your Phone! - Medium
This week we launched the Moon web app. Now you can use Moon in any browser on any platform! Here's what's new: Use...
Read more >
Moon's browser extension lets you pay with bitcoin on Amazon
Meet Moon, a three-person startup that lets you pay for stuff on Amazon using bitcoin via the Lightning Network, bitcoin, Litecoin or Ether....
Read more >
Uniform Browser Automation Infrastructure with Moon (part 1/2)
This is a live demonstration of Moon - a drop-in replacement of Selenium Grid ... how to use lightning-fast mobile emulation and many...
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