You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I find no way to use it in a simpe html page (index.html)... no React, vo Vues. That's because my very low experience with es modules and how to use them in a browser.
Is there any example I can find somewhere?
Thank you!!!
The text was updated successfully, but these errors were encountered:
This is my attempt: <script type="module"> import { rs } from './node_modules/text-readability/main.js' </script>
main.js is loaded with http 200 code but I get:
Uncaught TypeError: Failed to resolve module specifier "syllable". Relative references must start with either "/", "./", or "../".
I can change in main.js:
import { syllable } from 'syllable';
to
import { syllable } from './node_modules/syllable/index.js'
but then I get another one.. and another one..
Hi,
I find no way to use it in a simpe html page (index.html)... no React, vo Vues. That's because my very low experience with es modules and how to use them in a browser.
Is there any example I can find somewhere?
Thank you!!!
The text was updated successfully, but these errors were encountered: