Giter Site home page Giter Site logo

Comments (3)

GabiAxel avatar GabiAxel commented on June 3, 2024

Can you please provide an example so I can see exactly what the problem is?

from ng-polymer-elements.

furier avatar furier commented on June 3, 2024

Browserify is a development tool that allows us to write node.js-style modules that compile for use in the browser. Just like node.js, we write our modules in separate files, exporting external methods and properties using the module.exports and exports variables.
We can even require other modules using the require function, and if we omit the relative path it’ll resolve to the module in the node_modules directory.

I could not find ng-polymer-elements on npm so i used napa
to download ng-polymer-elements into node_modules, configured the browser property in the package.json file to point to ng-polymer-elements.js and tried to require it.

I got a lot of exceptions and for obvious resons some were dependency issues.
So then i used browserify-shim to add the dependencies with ng-polymer-elements, but that also failed.

Are you planning on adding ng-polymer-elements to npm or make it work with browserify-shim?

from ng-polymer-elements.

GabiAxel avatar GabiAxel commented on June 3, 2024

I published ng-polymer-elements 0.2.0 to npm, please give it a try.

from ng-polymer-elements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.