当我运行vue inspect
它时,它说templateParameters函数是omitted long function
。
templateParameters: function () { /* omitted long function */ },
我有兴趣查看这里的内容。有没有办法查看长函数?
好吧,我刚刚发现该vue inspect
命令的选项下可以使用-v
verbose选项查看完整的函数定义。
vue inspect --help
Usage: inspect [options] [paths...]
inspect the webpack config in a project with vue-cli-service
Options:
--mode <mode>
--rule <ruleName> inspect a specific module rule
--plugin <pluginName> inspect a specific plugin
--rules list all module rule names
--plugins list all plugin names
-v --verbose Show full function definitions in output
-h, --help output usage information
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句