I have to create a Dashboard for my customer using VueJS + Typescript and D3.js.
They are using dotnet vue template: 'dotnet new –install Microsoft.AspNetCore.SpaTemplates::*' 'dotnet new vue'
Everything is setup on installation: Webpack, Typescript and VueJS
This Webpack setup does not accept <script lang="ts"></script> and most of the tutorials uses it to import D3.js library.
Is there any way to reconfigure webpack in this template to accept <script lang="ts"></script>?
Error after I install d3 and d3 typings
Best
npm install d3) andimportit inside your Typescript code?