You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom js script and unfortunately I need to reuse it in a template. How can I import it without using a : <script src="myscripts.js"></script> in the template.
The second problem is also related to the tempale : I want to know how can I display images in my template. For example in index.html I want to add a svg and a png image from my assets folder. But when I put the <img> tag with the correct path after a webpack --watch the image is not found. Webpack don't add my image to the dist folder. My assets are in src/assets.
Thank you by advance for your answer,
The text was updated successfully, but these errors were encountered:
Hello thx for your previous answer :) ,
I also have others issues :
I have a custom js script and unfortunately I need to reuse it in a template. How can I import it without using a :
<script src="myscripts.js"></script>
in the template.The second problem is also related to the tempale : I want to know how can I display images in my template. For example in
index.html
I want to add a svg and a png image from my assets folder. But when I put the<img>
tag with the correct path after awebpack --watch
the image is not found. Webpack don't add my image to the dist folder. My assets are insrc/assets
.Thank you by advance for your answer,
The text was updated successfully, but these errors were encountered: