При компиляций выходит ошибка "TS2307: Cannot find module './components/App.vue'."?
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
require('laravel-elixir-webpack');
elixir((mix) => {
mix
.sass('app.scss')
.webpack("resources/assets/js/app.ts",{
module: {
loaders: [
{
test: /\.ts?$/,
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
}
},
],
}
});
});
<template>
<div></div>
</template>
<script lang="ts">
import Vue from "vue";
import Component from 'vue-class-component'
@Component()
export default class App extends Vue {
created(){
console.log("Test")
}
}
</script>