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.

I’m using browserify for my project, so it would be great to see this on npm

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
jackocnrcommented, Apr 14, 2016

So I haven’t done this for a while, but I can tell you how we were doing it in the last project I was working on a few months ago: we used npm to install intl-tel-input, and we used browserify to build our JS app, and the way we did it was to have a global jquery, and then in the view that wanted to use this plugin, I just did require("intl-tel-input"); at the top (I didn’t assign it to a variable), and then to use it I just did this.ui.phone.intlTelInput(); - this is a Marionette.js ItemView, so this.ui.phone is the jQuery object for the input.

0reactions
jevgenigavrilovcommented, Jan 23, 2019

using Browserify and this works for me intlTelInput = require('intl-tel-input');

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating and publishing scoped public packages - npm Docs
Publishing scoped public packages ; On the command line, navigate to the root directory of your package. cd /path/to/package ; To publish your...
Read more >
How to publish packages to npm (the way the industry does ...
The way the industry publishes (and updates) packages. · Run tests (if there are any) · Update version in package.json according to Semver...
Read more >
How to Publish a Package on npm - MakeUseOf
To publish your packages on npm, you must create an npm account on the official npm website. Follow the steps below to create...
Read more >
How to Publish Your First npm Package | by Bret Cameron
In it, I'll walk you through the whole process of publishing an npm package, from creating an account and version control to debugging...
Read more >
How to create and publish an npm package? - LinkedIn
Sr. R&D Engineer - Full Stack Developer… ... Introduction: In this article, we will see step by step guide to create and publish...
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