Answer the question
In order to leave comments, you need to log in
How to properly add libraries to tars?
How to properly add libraries to tars ?
If you add a simple download, then there are problems with the update.
If you use npm or bower, then with scss files, it’s still clear to import them into the .scss file of plugins or libraries, but how to include js ?
Answer the question
In order to leave comments, you need to log in
You can use require if the build method for js is "workflow": "modular". But it doesn't work for all plugins...
require ('static/js/plugins/lightslider');
require ('static/js/plugins/slick');
require ('static/js/plugins/easydropdown');
require ('static/js/plugins/infinitescroll');
require ('static/js/plugins/mousewheel');
require ('static/js/plugins/scrollbar');
var Vue = require('vue/dist/vue.min.js');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question