question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using JS import statement

See original GitHub issue

Hi, It seems I cannot use the JS import statement? I have added babel libs and selected babel in settings for JS. But console keeps showing import as bad keyword. I can include the CDN and access the code libs that way. Got to dig around to get stuff working like…

 components: {
    // <my-component> will only be available in parent's template
    Multiselect: VueMultiselect.Multiselect
  },
    data: {
      dataVar...

Just wondering if I am missing something or may not possible in current release.

Great Stuff!!!

Regards Jim

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chinchangcommented, Mar 19, 2019

imports now work in the “Files mode” which allows you to create files. This is available in 4.0 on new website -> https://webmaker.app

0reactions
jimmckcommented, Mar 19, 2019

Hi Wonderful!! Thanks! Jim

On Mar 19, 2019, at 1:28 PM, Kushagra Gour notifications@github.com wrote:

imports now work in the “Files mode” which allows you to create files. This is available in 4.0 on new website -> https://webmaker.app

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

import - JavaScript - MDN Web Docs - Mozilla
The static import declaration is used to import read-only live bindings which are exported by another module. The imported bindings are ...
Read more >
JavaScript Import Explained - Tutorials - Yax.com
The import statement makes modular code possible in JavaScript (and also, code reuse and sharing). Without import or a similar mechanism, a developer...
Read more >
JavaScript import
The import() accepts a module specifier ( moduleSpecifier ) that has the same format as the module specifier used for the import statement....
Read more >
Javascript Import: The Complete Guide - AppDividend
Javascript import statement is used to import bindings that are exported by another module. Using import, the code is easier to manage when ......
Read more >
JavaScript Import Export Tutorial with Examples - positronX.io
The following are the syntax for importing the files in JavaScript. Given below, import syntaxes are based on the importing condition as per ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found