如何在laravel中删除Vue.js并在laravel中添加react.js

问题描述 投票:-2回答:1

您可以通过laravel中的单个命令删除vue.js并添加react.js

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

reactjs laravel vue.js command
1个回答
0
投票

设置预设

php artisan preset react
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

© www.soinside.com 2019 - 2024. All rights reserved.