How do I adjust electron-vue and babel to allow the use of extends
up vote
0
down vote
favorite
I am trying to write a default menu that I extend to add more options for each implementation. The default menu is installed from git through NPM. But it seems babel is stopping the use of extends as if it can't find the original class.
What do I need to do to make electron-vue support extends like this?
My goal is to make many of our own packages for various things and extend them as needed.
I was able to cheese it by commenting out these lines in the 3 webpack.*.config.js files
But I don't really know what those do so commenting out is probably a bad idea I think.
Thanks
javascript node.js babel-loader electron-vue
add a comment |
up vote
0
down vote
favorite
I am trying to write a default menu that I extend to add more options for each implementation. The default menu is installed from git through NPM. But it seems babel is stopping the use of extends as if it can't find the original class.
What do I need to do to make electron-vue support extends like this?
My goal is to make many of our own packages for various things and extend them as needed.
I was able to cheese it by commenting out these lines in the 3 webpack.*.config.js files
But I don't really know what those do so commenting out is probably a bad idea I think.
Thanks
javascript node.js babel-loader electron-vue
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to write a default menu that I extend to add more options for each implementation. The default menu is installed from git through NPM. But it seems babel is stopping the use of extends as if it can't find the original class.
What do I need to do to make electron-vue support extends like this?
My goal is to make many of our own packages for various things and extend them as needed.
I was able to cheese it by commenting out these lines in the 3 webpack.*.config.js files
But I don't really know what those do so commenting out is probably a bad idea I think.
Thanks
javascript node.js babel-loader electron-vue
I am trying to write a default menu that I extend to add more options for each implementation. The default menu is installed from git through NPM. But it seems babel is stopping the use of extends as if it can't find the original class.
What do I need to do to make electron-vue support extends like this?
My goal is to make many of our own packages for various things and extend them as needed.
I was able to cheese it by commenting out these lines in the 3 webpack.*.config.js files
But I don't really know what those do so commenting out is probably a bad idea I think.
Thanks
javascript node.js babel-loader electron-vue
javascript node.js babel-loader electron-vue
edited Nov 9 at 19:29
asked Nov 9 at 19:23
Trevor D
9701925
9701925
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%2f53232102%2fhow-do-i-adjust-electron-vue-and-babel-to-allow-the-use-of-extends%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