Repetition of code after webpack package of vue2 project

found the problem, the problem of the vux official template

found issues
https://github.com/airyland/v.
under vux, but there is no solution for the time being

Project description

Project is a mobile vue2 project, which uses vux as the ui framework and vux official template to create
using vue-router, vuex
webpack version 3.6 +

.

problem description

At the beginning of the

phase, I found that writing console.log on the export default of the root component App.vue would output 2 times
and then package it. I looked at the packaged code and found a very strange problem

.

part of the code in App.vue is shown in the following figure

clipboard.png

app.js

clipboard.png

console.log 2
computed methods 2

clipboard.png

my vue2 + element-ui project on my other PC side, which belongs to webpack2, doesn"t have the same problem when I try it.

I don"t know if there is something wrong with the configuration of webpack3 or something

minimize code testing

deleted all the page business logic code, but there is still a problem. It seems that there is something wrong with the webpack configuration, which has little to do with the page code written
App.vue

.
  https://pan.baidu.com/s/1_5U8. extraction code: w36u 


  https://github.com/airyland/v.
needs to be fixed by the author, and the code of vux-loader is temporarily changed to solve

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31db0-2bdae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31db0-2bdae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?