-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
npm run dev编译不成功,也不报错 #562
Labels
wontfix
This will not be worked on
Comments
style 应该已经有默认值了,缺 script 确实会有这个问题,可以也加下默认值,但是为什么会没有写 script 呢。。 |
@F-loat 卧槽感谢,原来是没加 script,我说怎么编译没反应。因为有的页面是纯静态的,有可能没有 |
战略mark,今天给这玩意坑了几个钟😭,确实补充默认值即可 |
确实是缺少script标签的坑,尴尬了😂 |
。。。真的坑 |
mark 终于找到缘由了 感谢题主 |
same issue |
好吧,看来不是我一个人有这个问题,真的是script的问题,补上就OK了 |
issue超过30天无更新或响应,7天后将自动关闭,如果问题状态有更新请及时更新issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[问题简单描述]
在vue文件中不加入<style></style>和<script></script>会出现无法编译,一直在
也不出现报错提示
问题复现步骤:
在pages新建一个目录
在目录里的vue文件中加入
运行npm run dev
期望的表现:
期望能正常编译,或者提示错误
[在这里描述期望的表现]
观察到的表现:
无法编译,一直停留在
也不报错

[在这里描述观察到的表现]

The text was updated successfully, but these errors were encountered: