DEV Community

Discussion on: How to Integrate Vue with ASP .NET MVC - The synergy between the two

Collapse
 
whitebookmark profile image
Rein

Thank you for writing this tutorial. However I still do not understand how will you make a production build like this ? If you use webpack to build Vue.js then it would appear in a separate file which means razor syntax cannot be integrate like that. I also noticed you aren't using SFC with .vue extensions, is that not possible ?

Collapse
 
proticm profile image
Milos Protic

Sorry for my far late reply :D I did not use Webpack, I used Rollup to build the scripts (but it should not make any difference), and it worked quite nicely. I have it fully operating with SFC components and Razor views where I use them. I cannot show you the project because it's a private repository