Wechat jssdk pure front-end how to better use and debugging?

the first step to use Wechat jssdk is to inject permissions through the config API to verify the configuration.
because the company does not separate the front and back end to obtain data through the interface, or the old front end writes the page to the background development, the front end cannot get configuration such as appid for development. The background knows nothing about js, so it"s troublesome for all developers to cooperate.
is there any way for the front end to use the api? provided by jssdk without going through these configurations
and the function written by jssdk can only be seen through the mobile phone. I don"t know where the code debugging data can be seen through the output of console.log. Unlike WeChat Mini Programs, there is a small function of vConsole. How do you debug it?


you can use vConsole in any project, not just Mini Program.

there are basically two ideas:

  1. ask Wechat jssdk to open up a certification-free service for you.
  2. use Wechat developer tools (no way, you rely on other people's api)

Previous: How to set the number of words to display for a long column of data in element ui.

Next: After vuecli3 is packaged, multiple js and css each generate a chunk-xxx file, what's the use?

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