Currently working on a web page using Vue.js, without a backend at the moment. In need of tabs, I explored the options and came across vue-tabs-component.
However, to proceed with the installation, the following command is required:
npm install vue-tabs-component --save
I have concerns about how this library will be served to users. Many visitors do not have npm installed or the ability to execute 'npm install vue vue-tabs-components' while browsing.
Since I am focusing solely on frontend development, I do not rely on npm for my work. Additionally, working from multiple computers further complicates the reliance on npm.
Is there a method to use libraries only through <script src=...>
tags?
Although I referenced vue-tabs-component, my query extends beyond this specific case. Why is it necessary to install frontend dependencies if they are ultimately being served to clients without requiring them to install anything?