【发布时间】:2020-04-24 21:09:17
【问题描述】:
你可以删除 vue.js 并在 laravel 中的单个命令中添加 react.js
在 git bash 中写一个命令 $php artisan 预设 React
【问题讨论】:
标签: reactjs laravel vue.js command
你可以删除 vue.js 并在 laravel 中的单个命令中添加 react.js
在 git bash 中写一个命令 $php artisan 预设 React
【问题讨论】:
标签: reactjs laravel vue.js command
设置预设
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
【讨论】: