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
{{ message }}
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
The short answer is "no". Neither Babel nor Babel Standalone (now part of Babel itself) are module bundlers. You'll need something like SystemJS if you want to use import and export statements in the browser.
You might also check out native bundling now that's finally seen the light of day some in the latest browsers - Chrome and Safari, anyway.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I am using Reactjs and want to use a datepicker: https://github.com/Hacker0x01/react-datepicker
I have no clue how to make it work as the example uses
import React from 'react';
import DatePicker from 'react-datepicker';
import moment from 'moment';
I downloaded the scripts for each one
React works just fine but when I try to use the Datepicker based on there example I get " Uncaught ReferenceError: DatePicker is not defined"
I think it is something to do with the imports.
The text was updated successfully, but these errors were encountered: