0👍
I’m facing the same problem.
And I found the following things.
npm run dev
: autoplay works.
npm run build && npm run start
: autoplay doesn’t work.
my package.json
:
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
"build": "nuxt build",
"start": "cross-env NODE_ENV=production nodemon server/index.js --watch server"
}
So I guess the problem cause some process with NODE_ENV=production
.
- [Vuejs]-Vue form @submit.prevent does not work in mobile browsers
- [Vuejs]-From an array of objects, get specific properties
Source:stackexchange.com