Home > Net >  In vs2019 using HTTP - vue - loader loads the vue file hints file can't find the 404
In vs2019 using HTTP - vue - loader loads the vue file hints file can't find the 404

Time:10-09

CSTHML files and. Vue in the same directory


<script SRC="https://unpkg.com/vue" & gt; </script>
<script SRC="https://unpkg.com/http-vue-loader" & gt; </script>


<body>



New Vue ({
El: '# my - app,
Components: {
'my - component: httpVueLoader (' my - component. Vue')
}
});
</script>



F12 network inside tips in my - component. Vue 404, where is still need to configure?

CodePudding user response:

The reason of this problem has nothing to do with the vue, is can't find the MVC. Vue file format, the solution is in, the webconfig configuration file to add a configuration,




So you can find.

CodePudding user response:

In addition to modify the webconfig file, add a little, about the introduction of path
  • Related