We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0-rc.3
http://www.idontunderstand.com
将ts文件用<script src='./index.ts' lang="ts"></script>引入,报错: File 'xxx.vue' is not a module,改回去就好了。
<script src='./index.ts' lang="ts"></script>
预期和写在script便签里面的一样运行。
如果这样不能引入ts文件的话,那么我应该怎么去定义ref的类型
thx
The text was updated successfully, but these errors were encountered:
+1
File 'xxx.vue' is not a module
The code as follows:
<div class="home"> <img src="../../assets/logo.png"> <HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/> </div> </template> <script lang="ts" src="./home.ts"> </script>
Sorry, something went wrong.
Duplicate of #1104
No branches or pull requests
Version
3.0.0-rc.3
Reproduction link
http://www.idontunderstand.com
Steps to reproduce
将ts文件用
<script src='./index.ts' lang="ts"></script>
引入,报错: File 'xxx.vue' is not a module,改回去就好了。What is expected?
预期和写在script便签里面的一样运行。
What is actually happening?
如果这样不能引入ts文件的话,那么我应该怎么去定义ref的类型
thx
The text was updated successfully, but these errors were encountered: