<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 生產環境編譯打包處理步驟 開發者開發要進行以下幾個步驟打包發布 ## **admin端** 安裝依賴:npm?install 開發運行:npm?run?dev 打包編譯:npm?run?build 修改?編譯后的index.html文件,替換路徑?/admin/ 1. 框架admin端(npm run build)編譯過的目錄要拷貝到niucloud\public的admin下的 2. 修改index.html文件,才能正常訪問 ![](https://img.kancloud.cn/59/55/59557986aea7b7ad25372cf8f96e968e_1044x590.png) **提問?** 每次編譯完都需要改嗎 是的 ## **wap(手機端)** (因為是saas模式,一套手機端代碼,對于不同站點的域名解析是不同的,暫時功能還沒開發完善,所以需要開發者手工修改打包后的小程序源碼內容,開發完畢后,框架會自動完成代碼的修改) 1. Hbuilder工具,發行——>網站 ![](https://img.kancloud.cn/fb/1d/fb1d86ce323cb2fca4e1f4666dcb837a_293x535.png) ![](https://img.kancloud.cn/0a/8e/0a8edfc18d3421ef71a0f43126b34ff0_604x336.png) <br> 2. 搜索關鍵詞定位代碼塊:routerBase ,修改如下 ![](https://img.kancloud.cn/4a/c2/4ac2eae327e66fe2937d21eccef0124e_604x247.png) ![](https://img.kancloud.cn/32/ac/32ac9867e1027182a75b61595aa1d047_604x275.png) ``` const?match?=?location.href.match(/\\/wap\\/(\\d\*)\\//); mode:?"history", base:?match???`/wap/${match\[1\]}/`?:?'/wap/', assets:?"assets", routerBase:?match???`/wap/${match\[1\]}/`?:?'/wap/' router:?{mode:?"history",?base:?match???`/wap/${match\[1\]}/`?:?'/wap/',?assets:?"assets",?routerBase:?match???`/wap/${match\[1\]}/`?:?'/wap/'}, ``` <br> ## **web(電腦端)** 安裝依賴:npm?install 開發運行:npm?run?dev 打包編譯:npm?run?generate 修改?編譯后的index.html文件npm?run?generate ``` const?match?=?location.href.match(/\/web\/(\d*)\//); baseURL:match???`/web/${match[1]}/`?:?'/web/' ``` ![](https://img.kancloud.cn/a4/f5/a4f5c4d07c6dc0c8eb50843ea99e9cf9_604x268.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看