Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add starter for Webpack, SCSS, and TypeScript #185

Open
Splaktar opened this issue Jan 13, 2018 · 2 comments
Open

Add starter for Webpack, SCSS, and TypeScript #185

Splaktar opened this issue Jan 13, 2018 · 2 comments

Comments

@Splaktar
Copy link
Member

Splaktar commented Jan 13, 2018

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
Copy link
Member Author

Splaktar commented Nov 3, 2018

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

@Splaktar
Copy link
Member Author

Splaktar commented Nov 3, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant