Code Monkey home page Code Monkey logo

Comments (12)

mariomka avatar mariomka commented on August 20, 2024

Can you provide a reproduction? A small project in a repository or something similar...

from vue-datetime.

lwenn avatar lwenn commented on August 20, 2024

Hi, I find the version I used is 0.5.2, then I update to 0.6.0, and there is no error using locale, and the same error using moment-locale, and setting locale doesn't work? You could see my reproduction in vue-datetime-sample, it may provide help. You could read the README.md.

from vue-datetime.

mariomka avatar mariomka commented on August 20, 2024

locale property was renamed by moment-locale.

About the error, it seems that UglifyJsPlugin is breaking something, I'm trying to found a solution.

from vue-datetime.

shanjixiaboss avatar shanjixiaboss commented on August 20, 2024

I can't use it after build

from vue-datetime.

art0s avatar art0s commented on August 20, 2024

Hello!
I confirm this error in 0.7.0 version
after "npm run build" command
appears error:

image

in 0.5.3 everything is clean

from vue-datetime.

cruonline avatar cruonline commented on August 20, 2024

Hey guys, any progress?

I'm also trying to locate exact problem.
I can confirm, it is UglifyJsPlugin cousing this only while using locale or moment-locale prop.
So it's clearly connected to moment.js

Did anyone tried to switch moment version or other tricks that may help patching this.?

from vue-datetime.

art0s avatar art0s commented on August 20, 2024

we waiting component's update ))
#28

from vue-datetime.

cruonline avatar cruonline commented on August 20, 2024

If anyone needs fast and dirty fix, just set keep_fargs to false in uglifyjs options. Works fo me.

*EDITED, set to false, not true...

from vue-datetime.

shanjixiaboss avatar shanjixiaboss commented on August 20, 2024

@cruonline sure? but that's default is true, i just used default lang then build all right

from vue-datetime.

cruonline avatar cruonline commented on August 20, 2024

sorry, meant set to false. Sorry for confusion. This happens if you try to do mulitask and are not a cyborg ;-)

from vue-datetime.

shanjixiaboss avatar shanjixiaboss commented on August 20, 2024

Oh, no, it's my mistake. I should go to the eye department. /laugh

from vue-datetime.

mariomka avatar mariomka commented on August 20, 2024

Next version is near to be stable but changes are meaningful (see #28) but this error mustn't appear more.

from vue-datetime.

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.