【问题标题】:how to remove Vue.js in laravel and Add react.js in laravel如何在 laravel 中删除 Vue.js 并在 laravel 中添加 react.js
【发布时间】:2020-04-24 21:09:17
【问题描述】:

你可以删除 vue.js 并在 laravel 中的单个命令中添加 react.js

在 git bash 中写一个命令 $php artisan 预设 React

【问题讨论】:

    标签: reactjs laravel vue.js command


    【解决方案1】:

    设置预设

    php artisan 预设反应

    php artisan preset -h
    Description:
      Swap the front-end scaffolding for the application
    
    Usage:
      preset [options] [--] <type>
    
    Arguments:
      type                   The preset type (none, bootstrap, vue, react)
    
    Options:
          --option[=OPTION]  Pass an option to the preset command (multiple values allowed)
      -h, --help             Display this help message
      -q, --quiet            Do not output any message
      -V, --version          Display this application version
          --ansi             Force ANSI output
          --no-ansi          Disable ANSI output
      -n, --no-interaction   Do not ask any interactive question
          --env[=ENV]        The environment the command should run under
      -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
    
    

    【讨论】:

    • 是的 Kamlesh Paul
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-09-19
    • 2020-02-21
    • 2017-03-27
    • 2014-07-09
    • 2020-04-06
    • 2018-10-01
    • 1970-01-01
    相关资源
    最近更新 更多