After the new page of mpvue is re-npm run dev, there is no corresponding increase in the pages array of app.json files under the dist directory.

problem description

after the new page of mpvue is re-npm run dev, the pages array of app.json files in the dist directory does not increase correspondingly, resulting in a page path error always reported when redirecting. What should I do to solve this problem?
and after each re-npm run dev, the app.json file page array is gone, the manually added path is gone, and the config code in src/main.js is not automatically compiled into app.json.
in addition, what if the mpvue setting container background image is invalid?

related codes

after the new page of mpvue is re-npm run dev, the pages array of app.json files in the dist directory does not increase correspondingly

  "pages": [
    "pages/index/main",
    "pages/logs/main"  ],

mpvue setting background image is invalid, solve.

    background-image: url("/static/bg.jpg");

Picture path:
clipboard.png

Jun.22,2021

there is an extra app.json, in the new mpvue src directory to update the data here, and the app.json in the dist directory will be compiled automatically!
in addition, if there is a problem with the background image, just use the network link, and the local picture will appear with bugs that are not displayed!


image the local picture cannot be used in wxss, the picture can be uploaded to the network first and then the link on the network can be used. Mini Program written by
does not use the frame. Frames are the most annoying thing. =

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