Giter Club home page Giter Club logo

Comments (4)

mzhukovs avatar mzhukovs commented on September 17, 2024

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.

NPadrutt avatar NPadrutt commented on September 17, 2024

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.

NPadrutt avatar NPadrutt commented on September 17, 2024

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.

yukihiro-hyakuta avatar yukihiro-hyakuta commented on September 17, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.