python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Dynamically load .mp3s in Vue.js+Nuxt.js on mounted()
I'm tying to follow the official nuxt.js documentation to dynamically load dozens of .mp3 files as the user progresses through a quiz.I've set up my config file as follows:
nuxt.config.js (Nuxt v2.15....
M -
Votes: 0
Answers: 0
How to load fonts from LESS file with Webpack 5?
I am using Webpack 5 and loading fonts and other styles from a .less file. However, the fonts/styles do not seem to be loading, and I'm trying to figure out why.
bootstrap.less
@import (less) '~bootst...

jeanmw
Votes: 0
Answers: 1
Webpack file loader dynamic path in public path
I have this config for images and fonts in my webpack config file:
{
test: /\.(ttf|eot|svg|woff(2?)|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
use: [
{
loader: 'file-loader',
options: {
...

alfredjmg
Votes: 0
Answers: 0