[Vuejs]-Try to play a .mov file in Vue, unable to complie

0👍

For me it went through like this

module.exports = {
  productionSourceMap: false,
  transpileDependencies: [
    'vuetify'
  ],
  chainWebpack: config => {
    config.module
      .rule('mov')
      .test(/\.mov$/)
      .use('file-loader')
        .loader('file-loader')
        .end()
  }
}

My package.json

  "dependencies": {
    "@lottiefiles/lottie-interactivity": "^1.2.0",
    "@lottiefiles/lottie-player": "^1.4.5",
    "core-js": "^3.6.5",
    "vue": "^2.6.11",
    "vue-axios": "^3.4.0",
    "vue-meta": "^2.4.0",
    "vue-moment": "^4.1.0",
    "vue-router": "^3.2.0",
    "vuetify": "^2.4.0",
    "vuex": "^3.6.2"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-router": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "axios": "^0.18.0",
    "babel-eslint": "^10.1.0",
    "css-loader": "^6.5.1",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^6.2.2",
    "sass": "~1.32.0",
    "sass-loader": "^10.0.0",
    "style-loader": "^3.3.1",
    "stylus": "^0.55.0",
    "stylus-loader": "^6.2.0",
    "vue-cli-plugin-axios": "~0.0.4",
    "vue-cli-plugin-vuetify": "~2.4.3",
    "vue-template-compiler": "^2.6.11",
    "vuetify-loader": "^1.7.0"
  },

Leave a comment