Comments (4)
Yes if I set any breakpoints in the ts files in VS2017 none of them get hit: "breakpoint set but not yet bound" - did you have any luck @chouchoui ?
from vuets.
same issue here. I checked the vue template in the Microsoft.AspNetCore.SpaTemplates package which is the foundation for this here and that works without any issue.
from vuets.
I have to correct my post. The issue wasn't the loader but the mode flag. When I removed the following line it works for me with both loaders. When I readd it, it doesn't with both.
mode: devMode
Is it possible that this is because development mode sets the devtool to eval?
EDIT 2: after some more testing I have to say it seems it's not due to the flag above. Rather it seems that it generates a build of the typescript classes from time to time (also when you change that flag) . I then have to delete all of these and then it seems to work again.. BuildOnSave is set to false in my tsconfig.
from vuets.
I have some problem to degug with ts.
I am trying and resolution
comment out below
webpack.config.js
//mode:devMode,
`const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const bundleOutputDir = './wwwroot/dist';
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = (env) => {
const isDevBuild = !(env && env.prod);
const devMode = isDevBuild ? 'development' : 'production';
return [{
//mode: devMode,
stats: { modules: false },
context: __dirname,
resolve: { extensions: ['.js', '.ts'] },`
from vuets.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuets.