UltraRangers / gauntlet

Gauntlet is a Typescript server template to kick-off your development fast 🔥🔥🔥
https://gauntlet-demo.herokuapp.com
MIT License
3 stars 0 forks source link

Client Structure: includes angular material and lazy load #12

Closed dach020 closed 6 years ago

dach020 commented 6 years ago

Hi. I'd love to do that. But unfortunately, Webpack 4.0 (which we are currently using right now) doesn't support Stylus just yet. https://github.com/shama/stylus-loader/issues/189

Your thoughts?

ghost commented 6 years ago

Styles: For me, either stylus or sass is ok.

Syntax: We should use same ground on style guide and I choose this one for the client https://github.com/johnpapa/angular-styleguide/blob/master/a2/README.md I think if you are using VSCODE, it has an extension for that style-guide. Fore server side: we will use the nest style guide also available in VSCODE.

Structure: The structure for me is good. using shared modules is good. Just rename the common folder to shared. Then inside it has components, pipes and services maybe. Somewhere near in the future we will probably add core module which generally its role is to provide something for the app that is general to all. This should be imported only once and unlike the shared module that is being imported whenever it is need.