Vue packaging and configuration at the same time: why baseUrl:'/',assetsDir:'static', packaging is not successful?

After

is configured at the same time, some static files will run outside the static file.
like here there is a css file outside:

clipboard.png

:


baseUrl staticindex.html:

clipboard.png

how can we have both?

Mar.31,2021

There are several problems with

.

  1. is your project generated using scaffolding? Or did you build it yourself
  2. Please paste the configuration code of webpack a little bit (posting more will not waste your traffic)

baseUrl: '/',
outputDir: 'dist',
assetsDir: 'static',
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-1b3abd3-2c241.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-1b3abd3-2c241.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?