Is it possible to import jquery-ui?
up vote
0
down vote
favorite
I'm using parcel-bundler to package my appli.js and try to import jquery-ui because I saw some examples on the web but none in the official doc ...
The error reported concerns the non-definition of jQuery which I define after importing jquery ...
import $ from 'jquery';
window.jQuery=$;
var jQuery=$;
import "jquery-ui"; // jquery-ui not documented for import
import "jquery-ui/ui/unique-id";
import "jquery-ui/ui/widgets/accordion";
ReferenceError: jQuery is not defined
// require("jquery-ui");
// require("jquery-ui/ui/unique-id");
// require("jquery-ui/ui/widgets/accordion");
works fine!
javascript jquery-ui import
add a comment |
up vote
0
down vote
favorite
I'm using parcel-bundler to package my appli.js and try to import jquery-ui because I saw some examples on the web but none in the official doc ...
The error reported concerns the non-definition of jQuery which I define after importing jquery ...
import $ from 'jquery';
window.jQuery=$;
var jQuery=$;
import "jquery-ui"; // jquery-ui not documented for import
import "jquery-ui/ui/unique-id";
import "jquery-ui/ui/widgets/accordion";
ReferenceError: jQuery is not defined
// require("jquery-ui");
// require("jquery-ui/ui/unique-id");
// require("jquery-ui/ui/widgets/accordion");
works fine!
javascript jquery-ui import
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using parcel-bundler to package my appli.js and try to import jquery-ui because I saw some examples on the web but none in the official doc ...
The error reported concerns the non-definition of jQuery which I define after importing jquery ...
import $ from 'jquery';
window.jQuery=$;
var jQuery=$;
import "jquery-ui"; // jquery-ui not documented for import
import "jquery-ui/ui/unique-id";
import "jquery-ui/ui/widgets/accordion";
ReferenceError: jQuery is not defined
// require("jquery-ui");
// require("jquery-ui/ui/unique-id");
// require("jquery-ui/ui/widgets/accordion");
works fine!
javascript jquery-ui import
I'm using parcel-bundler to package my appli.js and try to import jquery-ui because I saw some examples on the web but none in the official doc ...
The error reported concerns the non-definition of jQuery which I define after importing jquery ...
import $ from 'jquery';
window.jQuery=$;
var jQuery=$;
import "jquery-ui"; // jquery-ui not documented for import
import "jquery-ui/ui/unique-id";
import "jquery-ui/ui/widgets/accordion";
ReferenceError: jQuery is not defined
// require("jquery-ui");
// require("jquery-ui/ui/unique-id");
// require("jquery-ui/ui/widgets/accordion");
works fine!
javascript jquery-ui import
javascript jquery-ui import
asked Nov 19 at 15:57
Michel Meynard
11
11
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53378373%2fis-it-possible-to-import-jquery-ui%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown