Skip to main content

Project Practice Related

How to configure the WeChat Mini Program WebView verification file?

In the build command of your application, you can move the verification file to the configured output directory, for example, write the build command as:

npm run build && mv ABCDE12345.txt ./dist/ABCDE12345.txt

Here, ABCDE12345.txt is the filename of your verification file.