Code Monkey home page Code Monkey logo

Comments (2)

brian-slate avatar brian-slate commented on May 23, 2024 1

Whats the expected way to use this?

If I pull it in with npm or bower ("ajv-i18n": "epoberezkin/ajv-i18n#^1.3.0") it still needs to be built with 'npm install && npm run bundle-all'.

At that point, it's been browserified, and I can use it in my project by doing a require('/localize/index'). Can you explain why the require doesnt follow the example require('ajv-i18n')?

from ajv-i18n.

epoberezkin avatar epoberezkin commented on May 23, 2024

I have published, I thought it is...
Please see https://github.com/epoberezkin/ajv-i18n#install

It could be easier to use with npm, if the bundle were published there (it's not at the moment). Using with browserify/webpack seems better though, as you can inlude only the languages you need, rather than loading all of them in a separate bundle.

from ajv-i18n.

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.