我在vue文件里面的 script标签里面想使用typescript:
但是用webpack打包的时候报You may need an appropriate loader to handle this file type. 找不到对应的加载器,可我在 单独require或import时 可以成功转换。 webpack配置:
还需要单独配置吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
https://github.com/Herrington... 这个有没有帮助?