bash cd 到小程序根目录npm init 生产package.jsonnpm i xxxx -S -productionbuild IDE->tools->build npmcheck Details->use NPM module 严格按照如上步骤