-
Notifications
You must be signed in to change notification settings - Fork 0
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
missing library? #28
Comments
also link to the unpkg.com file in demo example works when i paste it in the browser but not when i try to run locally. had to copy paste replace https://unpkg.com/permutable@0.2.19/dist/esm.js?module with this destination link? |
Yes, you are right, this is poorly documented. So, JavaScript has many different ways of defining modules. Permutable is compiled in three different ways: This let's you use Permutable in different development environments. The recommended way of using Permutable is with esm. Sadly, it does not work with the If you don't want to use a development server, you could use the old-school iife version. It works with the <script src="https://unpkg.com/permutable@0.2.21/dist/iife.js"></script>
<script type="module">
permutable.run({
// ...
})
</script> |
cannot find 'dist/esm.js' or am i missing something :P
![Screenshot-20201025035334-448x151](https://user-images.githubusercontent.com/380951/97094864-b2675300-1676-11eb-8e82-93d28228bcde.png)
The text was updated successfully, but these errors were encountered: