Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

去掉必须引用.vue文件的限制,需要支持引用.html文件 #129

Open
hzsrc opened this issue Aug 5, 2021 · 2 comments
Open

Comments

@hzsrc
Copy link

hzsrc commented Aug 5, 2021

限制了必须引用.vue文件,这个没太大用处,反而在iis默认是不允许下载.vue文件的:
image

需要支持引用.html文件,比如:httpVueLoader('test.vue.html')

@liaohui1080
Copy link

增加 mime映射不就好了, iis都玩不溜吗,那学java把

@hzsrc
Copy link
Author

hzsrc commented Dec 19, 2021

楼上这位,好像就你会增加 mime映射一样,好牛逼。。。现在问题是,这个限制没有必要,没必要每次都让人去配置mime,造成额外的工作。而且,有些服务器并不允许你去改配置。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants