Not sure what I'm doing wrong but whenever I import your library using the following:
import { initReadMore } from '@corgras/readmore-js';
I get the following error in the console:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/@corgras_readmore-js.js?v=6b02faf8' does not provide an export named 'default'
I'm not quite sure what I'm doing wrong? Seems like I followed the docs properly.
Not sure what I'm doing wrong but whenever I import your library using the following:
I get the following error in the console:
I'm not quite sure what I'm doing wrong? Seems like I followed the docs properly.