• <bdo id='YOT2E'></bdo><ul id='YOT2E'></ul>
  • <tfoot id='YOT2E'></tfoot>
    <legend id='YOT2E'><style id='YOT2E'><dir id='YOT2E'><q id='YOT2E'></q></dir></style></legend>

      <small id='YOT2E'></small><noframes id='YOT2E'>

      <i id='YOT2E'><tr id='YOT2E'><dt id='YOT2E'><q id='YOT2E'><span id='YOT2E'><b id='YOT2E'><form id='YOT2E'><ins id='YOT2E'></ins><ul id='YOT2E'></ul><sub id='YOT2E'></sub></form><legend id='YOT2E'></legend><bdo id='YOT2E'><pre id='YOT2E'><center id='YOT2E'></center></pre></bdo></b><th id='YOT2E'></th></span></q></dt></tr></i><div id='YOT2E'><tfoot id='YOT2E'></tfoot><dl id='YOT2E'><fieldset id='YOT2E'></fieldset></dl></div>
      1. 如何在 Laravel 中更新 Example.vue?

        时间:2023-09-29

        1. <i id='0A7BE'><tr id='0A7BE'><dt id='0A7BE'><q id='0A7BE'><span id='0A7BE'><b id='0A7BE'><form id='0A7BE'><ins id='0A7BE'></ins><ul id='0A7BE'></ul><sub id='0A7BE'></sub></form><legend id='0A7BE'></legend><bdo id='0A7BE'><pre id='0A7BE'><center id='0A7BE'></center></pre></bdo></b><th id='0A7BE'></th></span></q></dt></tr></i><div id='0A7BE'><tfoot id='0A7BE'></tfoot><dl id='0A7BE'><fieldset id='0A7BE'></fieldset></dl></div>
            <tbody id='0A7BE'></tbody>
            • <bdo id='0A7BE'></bdo><ul id='0A7BE'></ul>

                <legend id='0A7BE'><style id='0A7BE'><dir id='0A7BE'><q id='0A7BE'></q></dir></style></legend>
              • <small id='0A7BE'></small><noframes id='0A7BE'>

                • <tfoot id='0A7BE'></tfoot>
                  本文介绍了如何在 Laravel 中更新 Example.vue?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我刚刚阅读了这个问题的答案,并没有得到很好的答复.

                  I just read the answers to this question and wasn't able to get a good response.

                  Laravel Example.vue 未更新

                  我也发布了这个问题,试图自己解决,但无济于事.

                  I also posted this question trying to figure it out on my own but to no avail.

                  如何加载 Vue 组件在 Laravel 5.4 中?

                  作为另一次尝试,我刚刚重新安装了 Laravel,虽然我能够在一个视图中多次加载默认的 Example.vue 组件,但我仍然无法更改组件的内容.更有趣的是,当我运行 npm install 然后 npm run dev 时,组件甚至不再出现.

                  As another attempt, I just did a new reinstall of Laravel, and while I am able to get the default Example.vue component to load multiple times in a single view, I am still unable to change the contents of the component. Funnier thing is that when I run npm install and then npm run dev, the component ceases to even show up anymore.

                  这真的很令人沮丧,因为 Laravel 附带了 Vue.js,但我无法使用它.任何帮助将非常感激!:)

                  This is really frustrating because Laravel ships with Vue.js yet I am unable to utilize it. Any help would be much appreciated! :)

                  推荐答案

                  需要安装node依赖,然后编译.

                  You need to install the node dependencies and then compile them.

                  1. 安装 node.js
                  2. 从您的项目根目录运行 npm install
                  3. 从您的项目根目录运行 npm run dev

                  您的浏览器也可能显示缓存版本.Chrome 有一个设置,您可以在检查器打开时禁用缓存.

                  Your browser may also be showing the cached version. Chrome has a setting that you can have the cache disabled while the inspector is open.

                  您也可以通过在其他浏览器中打开您的项目来检查它.

                  You can also check it by opening your project in other browsers.

                  如果在运行 npm run dev 时没有任何消息,你可以删除你的 node_modules 文件夹,然后运行 npm install 然后再次编译你的资产.

                  If when running npm run dev dies without any message of any kind you can delete your node_modules folder then run npm install and then compile your assets again.

                  您可能还需要使用命令清除和重建一些其他缓存:

                  You may also need to clear and rebuild a few other caches with commands:

                  composer dump-autoload
                  php artisan clear-compiled
                  php artisan cache:clear
                  

                  • https://laravel.com/docs/5.4/mix

                    https://laravel.com/docs/5.4/frontend

                    这篇关于如何在 Laravel 中更新 Example.vue?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:为什么 angular.js 在添加动态元素时不够聪明,无法编译 DOM? 下一篇:vue js 看不懂keep alive

                  相关文章

                • <small id='o6Cfy'></small><noframes id='o6Cfy'>

                • <legend id='o6Cfy'><style id='o6Cfy'><dir id='o6Cfy'><q id='o6Cfy'></q></dir></style></legend>
                    <bdo id='o6Cfy'></bdo><ul id='o6Cfy'></ul>
                • <tfoot id='o6Cfy'></tfoot>
                • <i id='o6Cfy'><tr id='o6Cfy'><dt id='o6Cfy'><q id='o6Cfy'><span id='o6Cfy'><b id='o6Cfy'><form id='o6Cfy'><ins id='o6Cfy'></ins><ul id='o6Cfy'></ul><sub id='o6Cfy'></sub></form><legend id='o6Cfy'></legend><bdo id='o6Cfy'><pre id='o6Cfy'><center id='o6Cfy'></center></pre></bdo></b><th id='o6Cfy'></th></span></q></dt></tr></i><div id='o6Cfy'><tfoot id='o6Cfy'></tfoot><dl id='o6Cfy'><fieldset id='o6Cfy'></fieldset></dl></div>