问题:运行命令vue-cli-service serve报错,loaderContext.getOptions is not a function 解决方法 :因为typescript版本过高不兼容,可以使用vue-cli@4.5.12版本搭建的typescript环境可以正常运行