Код: Выделить всё
Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.
Код: Выделить всё
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script type="module" src="/js/chat/main.js"></script>
Код: Выделить всё
import Chat from './Chat.vue'
new Vue({
el: '#chat',
template: '<chat/>',
components: {Chat},
})