Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

blackpuppy/vue2-datepicker-demo

Open more actions menu

Repository files navigation

vue2-datepicker-demo

A vue2-datepicker demo to reproduce a bug.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

How to reproduce

# create an empty Vue project
vue init webpack vue2-datepicker-demo

# install dependencies
cd vue2-datepicker-demo/
npm install

# add vue2-datepicker
npm install vue2-datepicker --save

# serve with hot reload at localhost:8080
npm run dev

Error in the output:

...
 error  in ./~/vue2-datepicker/src/datepicker/index.vue

Module build failed: Error: Couldn't find preset "latest" relative to directory ".../node_modules/vue2-datepicker"
...

This bug was fixed in vue2-datepicker@1.2.1.

About

vue2-datepicker demo to reproduce a bug

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.