在asp.net mvc應用中使用vue.js


最近有在asp.net mvc項目中使用了vue.js。
其中一個頁面包含諸多個vue的子件Vue Components。

 

 

頁面運行時,提示:

 

提示 vue子件找不到。

實則是:

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

解決這個,我們可以在web.config注冊一個擴展名.vue。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM