How to use 2 static directories when npm run dev in vue project

after creating the initial directory structure through vue init, there is a / static directory in the project where static resources can be placed. But now I want to create another directory that can also be used to put static resources in npm run dev.

(my goal is to use the second static directory to simulate access to the server api. The first static directory is the real static directory. So that npm run dev can fully simulate the process integrated with the backend. )

I have tried to modify the configuration of assetsSubDirectory in / config/index.js, but I can only modify it, not add one.

Mar.24,2021

simulate access to the server api? This feature recommends that the author use the proxyTable agent to forward the request. If vue-cli, set it in the config/index.js directory

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-1e4ff92-43b52.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-1e4ff92-43b52.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?