wepy學習一 安裝使用wepy

官方地址:https://tencent.github.io/wepy/index.html 步驟 1.安裝全局腳手架及建立運行項目 npm install wepy-cli -g mkdir demos && cd demos wepy init standard demo1 cd demo1 npm install npm run dev 2.打開微信小程序,項目目錄爲demo1項目根目錄(注意,雖然完成第一步後,wpy等文件會被編譯到dist目錄,但小程序會讀取根目錄下的配置文件自動讀取dist目錄) 3.修改.wpy文件,保存,腳手架自動熱更新html

相關文章
相關標籤/搜索