Comments (6)
Hmm, adding hooks take more time...
I read npm's documentation and find that dependencies is a list of package that used in module(For example import {something} from something;), devDep is a modules that using for development: linters, tests or other
I use only vue, so removing core-js is right!
Thnx!
from vue-modal.
Hello!
By default, when I create a blank project using vue-cli, it adds two deps: core-js and vue.
Core is being a scope of polyfills. I think that we use core-js (or some other vue's library, like vue-service), because after removing core-js form package. json and install clean project I find the core-js library in node-modules.
In result, I remove core-js from dependencies. Thanks @ina6ra
from vue-modal.
Some modules in npm have next config
They put vue in peer dependence, but i will save vue in main dependence(i dont think that it will helpfull, what do you think?)
from vue-modal.
Confirmed in a new project.
$ vue --verion
@vue/cli 4.5.13
$ vue create my-project
> Default (Vue 3) ([Vue 3] babel, eslint)
$ cd my-project
$ npm ls vue
`-- [email protected]
$ npm ls core-js
+-- @vue/[email protected]
| `-- @vue/[email protected]
| `-- [email protected] deduped
`-- [email protected]
$ yarn add jenesius-vue-modal
$ npm ls vue
+-- [email protected]
| `-- [email protected] deduped
`-- [email protected]
$ npm ls core-js
+-- @vue/[email protected]
| `-- @vue/[email protected]
| `-- [email protected] deduped
`-- [email protected]
In addition to core-js
, there were duplicate vue
that I did not use.
Both are not mentioned in vue-js-modal
, so I think you can delete both.
https://www.npmjs.com/package/vue-js-modal
Since vue-js-modal
uses resize-observer-polyfill
, it is Dependencies,
but jenesius-vue-modal
does not use it, so I don't think you need it either.
https://github.com/euvl/vue-js-modal/search?q=resize-observer-polyfill
from vue-modal.
i will today test library without vue-cli
And then write summary
from vue-modal.
Thanks @Jenesius
I confirmed that it was supported in version 1.0.14.
from vue-modal.
Related Issues (20)
- Nuxt compatibility HOT 7
- Dialog - backgroundClose: true - mouseup HOT 7
- Vue Warn deprecation TRANSITION_GROUP_ROOT HOT 5
- Version 2.0.0 HOT 3
- How to pass values back from modal component to parent HOT 4
- [BUG] На сайте кнопка Следующая страница всегда ведет на первую HOT 2
- promptModal produce promise cannot go next step when call openModal HOT 10
- modal cannot open when give namespace HOT 3
- problems using namespace with pushModal HOT 4
- click on the title, hold and drag HOT 32
- Type Supporting HOT 10
- Examples of animation
- Dialog HTML HOT 1
- Uncaught (in promise) Error: Modal's queue is not empty. Probably some modal reject closing by onClose hook. HOT 2
- Restruct repo.
- add side drawer feature HOT 3
- Vue.use(Modal) support? HOT 12
- Create multiple instances HOT 6
- Gaurd return false.Modal navigation was stoped. HOT 4
- Open Modal Vue 3 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-modal.