Looking to merge adminLTE with vue.
I've set up a fresh app using vue create admin-cli
Next, I ran npm install admin-lte --save
following the instructions in this link:
Now npm is storing everything under node_modules/admin-lte
I'm not quite sure how to mesh adminLTE with the vue app. One option would be manually copying all necessary files to the assets folder, but I'm interested in finding a tool to simplify this process.
When working with a vue component (like App.vue), I can utilize the following syntax:
<img alt="Avatar" src="~admin-lte/dist/img/avatar.png">
The "~" signifies the node_modules directory ()
Unfortunately, I'm unable to use this syntax in public/index.html to incorporate all the required css and js dependencies from adminLTE.
It seems that configuring webpack to handle the copying of these dependencies is the solution, but I am uncertain of how to accomplish this.