Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 21:45
    saiMedavarapu commented #1997
  • Nov 07 08:26
    testacp commented #1853
  • Nov 07 08:26
    testacp commented #1853
  • Oct 30 15:24
    emanuelcoelho1986 closed #2011
  • Oct 30 10:43
    sameerpallav commented #2025
  • Oct 15 15:20
    alanhg commented #1997
  • Sep 30 15:12
    bbrink68 commented #2049
  • Aug 23 13:34
    SouravKumar89 edited #2058
  • Aug 23 13:27
    SouravKumar89 opened #2058
  • Aug 22 00:04

    PatrickJS on master

    Update README.md (compare)

  • Aug 13 17:17
    ramsunvtech commented #1925
  • Aug 12 22:58
    terrancecorley commented #770
  • Aug 09 02:30
    jindovu commented #2049
  • Aug 09 02:22
    jindovu opened #2057
  • Aug 08 10:49
    krawinkelm commented #2053
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 09 11:40
    Sanafan commented #1713
  • Jul 05 11:41
    hoang-innomizetech commented #2053
Cyril Maréchal
@dev_funky_twitter
Thank you for your answer @Cramirez_92_twitter :-)
Eric Kisner
@exk0730
does anyone have any experience using SASS variables with the webpack starter?
Carlos Esteban Lopez Jaramillo
@luchillo17
@all Hi, anyone knows how to get semver in browser? it seems the npm package is an amd module since the error stack trace looks like this:
Uncaught TypeError: Invalid Version: function __webpack_require__(moduleId) { ... }
define.function.define.amd.semver    @    vendor.bundle.js:69
dvulanov
@dvulanov
Hey, I'm trying to load a babylonjs .babylon file that I've copied into my local assests folder. The resource is trying to load as 'file.babylon.manifest?23423425' and obviously coming back with a 404 - not found? Why is that manifest part being added to the end? Any help would be appreciated. Thanks
dvulanov
@dvulanov
I found a solution with the BabylonJS SceneLoader (splitting up the path and filename)
Yannick
@LPalmito
Hey!
I’ve managed to bundle my code into a bundle.js but I would also like to be able to debug it properly, by putting breakpoints and stuffs directly within the typescript files. Right know I’ve got the different js files of the project, but not the ts ones.
How could I kind of “sourcemap the code twice”?
  • First: bundle.js -> all the js (done)
  • Second: all the js -> all the ts (not done yet)
Currently I’ve got this webpack.config.js:
module.exports = {
    entry: {
        app: ['./vendor.ts', './app/boot.ts', './assets/style/style.css']
        //vendor: './vendor.ts'
    },
    output: {
        path: path.resolve(__dirname, "dist"),
        publicPath: '/assets/',
        filename: 'bundle.js',
        sourceMapFilename: "bundle.js.map"
    },
    resolve: {
        extensions: ['', '.js', '.ts']
    },
    devtool: '#source-map',
    module: {
        loaders: [
            { test: /\.ts$/, loader: 'ts-loader' },
            { test: /\.html$/, loader: 'raw-loader' },
            { test: /\.less$/, loader: 'style-loader!css-raw-loader!less-loader' },
            { test: /\.css$/, loader: 'style-loader!css-raw-loader' }
        ]
    }
};
Fábio Antunes
@FabioAntunes
Hey guys in this starter pack there's a service for setting the app state is there anything about the best practices of using that service and where can I find more info?
Nicolas Forney
@cm0s
Hey there, what's the best solution to add global css located somewhere in the node_modules folder?
Is there a more "elegent" way to do it?
Mate Balo Bordas
@matesk8
Hi guys, did anyone manage to setup html2js, for template cacheing in an Angualr 2 project?
Alex
@alvipeo

hi! can anyone help me out with bootstrap fonts and webpack? have a prj based on webpack-starter and use glyphicons inside buttons. but the icons do not show up. instead getting 404 for these requests:

GET http://192.168.1.2:3000/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2 
GET http://192.168.1.2:3000/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff 
GET http://192.168.1.2:3000/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf

I have loaders setup like this:

{test: /\.less$/, loader: 'raw-loader!less-loader'},
      {test: /\.(png|jpg|gif)$/, loader: 'file-loader'},
      //{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' }
      {
        test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/font-woff"
      }, {
        test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/font-woff"
      }, {
        test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/octet-stream"
      }, {
        test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
        loader: "file"
      }, {
        test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=image/svg+xml"
      }
falconmick
@falconmick
Doesn't angular material have icon support? Why use bootstraps
Alex
@alvipeo
because angular 2 material2 is far from ready
Alexey Popov
@ASDAlexey
Hello I'm seeing the following conflict when using Protractor angular2 with JQuery. I create directive and use in this directive jquery https://monosnap.com/file/1SzSO0JTlkrfQfWICJjTPSmJcw8BdU
As a result, the error occurs
The question how to use jquery b jquery plugins together with the Assembly AngularClass?
https://monosnap.com/file/YjxOKird6bV922QqSAdBQbLQqOfKOt
The error also occurs when using the library jQuery plugins
Gary Haddon
@ghaddon1
Looking at WebPack Starter and was wondering if anybody has expanded to use Express for API access to MongoDB?
Joe
@foxjazz
I cloned, ran the npm install directions. Then I hooked up with my browser to 3000. And there is no app folder in devtools. No way to debug the app. How is this useful?
Carlos Esteban Lopez Jaramillo
@luchillo17
I like PrimeNg more than Material 2, more widgets and more configurable ones.
dvulanov
@dvulanov
@foxjazz It's there, it's under webpack://src/
vknaveenkumar
@vknaveenkumar
hi i want to know how to wait until its receives the response in ajax call in angular2
vouill
@vouill
Anyone had trouble running a production build with materialize materialize.js:238 Uncaught TypeError: Cannot convert undefined or null to object ?
Btw it's working in dev mode, the weirdest is that i havent touched the webpack.dev neither the webpack.prod
vouill
@vouill
@vouill The issue was coming from the minified code of main.js . unminifiying it made it work
Alex
@alvipeo
hey everyone! I forgot how are we including assets in dist?
Sean Larkin
@TheLarkInn
I think they are copied with the webpack copy plugin.
From assets
Alex
@alvipeo

hey guys! not really ng2 qtn but I'd ask... how is this path resolved? this is webpack-starter project

@import "~bootstrap/less/bootstrap.less";

don't understand this syntax

Tim Sandberg
@largeDachshund
blob
anyone experiencing latency on re-building after code changes, like this
Sean Larkin
@TheLarkInn
@alvipeo resolved thanks to less-loader
KC
@Nyctohylophobia
I am trying to deploy an Angular2 Webpack app to AWS using putty and winscp. I am kinda lost/confused as to how to transfer the webpack to the aws server. Would appreciate greatly if anyone could point me in some direction! Thanks
Paul van den Berg
@bergvandenp
@Nyctohylophobia the result of a webpack build is a js file. It's only that js file that you need to send to aws, right/
?
Sean Larkin
@TheLarkInn
It can also emit additional static assets
raparlasiva
@raparlasiva
in my angualr 2 project we are using bootstrap 4 and ng2 bootstrap
i tried to use datepicker but the icons are loading properly
it's loading glyicons
whereas in bootstrap 4 there are not glyicons..
any help would be appreciated
raparlasiva
@raparlasiva
how can i change the theme from bootstrap 3 to bootstrap 4
the datepicker styles defaults to bootstrap 3..wondering is there a theme change to apply to change it to bootstrap 4
Alex
@alvipeo
hi! I built the proj for production and I see it sends from requests every 2 sec. where is this coming from and why?
KC
@Nyctohylophobia
@bergvandenp @TheLarkInn Yeah, after running build on the webpack, there is an assets folder and several .js .map files. Do I transfer these files directly to AWS?
Sean Larkin
@TheLarkInn
Well yeah, I think there actually is a S3 webpack plugin
That you can use
KC
@Nyctohylophobia
@TheLarkInn I am using EC2 but thanks alot for the help. It worked!
Gerson Sosa
@haghar
Hello everyone, which router is used in this starter?