material-start icon indicating copy to clipboard operation
material-start copied to clipboard

Add starter for Webpack, SCSS, and TypeScript

Open Splaktar opened this issue 7 years ago • 2 comments

Many modern AngularJS developers have moved to Webpack, SCSS, and TypeScript. Currently we have a TypeScript starter branch but it uses JSPM and CSS.

It would be good to show the community a solid starter repo that combined Webpack, SCSS, and TypeScript so that we could

  • Reproduce issues that some developers run into
  • Document and recommend ways to consume the AngularJS Material SCSS
  • Help the community move closer to a smooth upgrade path for Angular and Angular Material
  • Look at making this starter available via Stackblitz

Splaktar avatar Jan 13 '18 12:01 Splaktar

This Stackblitz was working previously with the Angular CLI, but it is now giving me CORS issues.

Splaktar avatar Nov 03 '18 16:11 Splaktar

The TypeScript branch has been updated ot the latest version of AngularJS and TypeScript along with the master version of AngularJS Material. This should help move us in the right direction.

I wasn't able to update SystemJS because of breaking changes. We should probably skip messing with that and just go to Webpack.

Another issue that I ran into was that there are a lot of TS build errors from our @types/ including angular-material and jquery. I'm not sure of the best way to solve this atm.

Splaktar avatar Nov 03 '18 18:11 Splaktar