A
A
aeprotsyuk2021-06-04 22:57:05
npm
aeprotsyuk, 2021-06-04 22:57:05

Why is it not added to devDependencies?

Why aren't they added to devDependencies when installing fancybox and swiper?

I write: npm install --save-dev -g swiper
After that, the installation takes place, but it is not added to the assembly, there is no entry in the package.json file. What am I doing wrong?

60ba8528befa5987726415.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2021-06-04
@aeprotsyuk

Why the -g flag?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question