Problem:
- Vue component renders on screen as
<!---->
Setup:
- Application is in C# Core 2.0
- Vue version 2.5.16
- Use gulp to copy static js files to /wwwroot
gulp.src('./node_modules/vue/dist/vue.min.js') .pipe(gulp.dest('./wwwroot/dist/')) - Call to load Vue in HTML
<script src="~/dist/vue.min.js" asp-append-version="true"></script> - I have four components. Two use string literal templates and two use
<template>. Of the later, only one displays.
<template id="paging-template"></template> <template id="modal-template"></template>
Vue.component('modal',{ template:'#modal-template'}); Vue.component('paging',{ template:'#paging-template'});
Modal is called with <modal></modal> and Paging with <paging></paging>.
Modal displays properly. Paging displays as <!----> but using the Vue debugger addon in Chrome I can see the model and everything for the Paging component is there.
What am I missing?
Edit: JSFiddle Link
This css is not mine, just the default on the Vue template they provide