Skip to content
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

ES6 import does not work? #48

Open
binarykiwi opened this issue Sep 5, 2018 · 1 comment
Open

ES6 import does not work? #48

binarykiwi opened this issue Sep 5, 2018 · 1 comment

Comments

@binarykiwi
Copy link

How do I import timetable.js in ES6 notation?
This does not work for me: import Timetable from 'timetable.js'

@friou
Copy link

friou commented Oct 17, 2018

Hello @binarykiwi,

The only way I've found to make it work is the following one :

declare const Timetable: any; import * as Timetable from 'timetable.js/dist/scripts/timetable.js';

Hope it helps you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants