Mainly I want to see how other people’s structures are set up. I’m just getting started now, and I’ve never been exposed to any front-end automation tools. The current project structure is based on type, function first, and I want to see some functions first. Structurally, look at how your structure is arranged and how it is combined with some automation tools. .
/q/1010000000738869
You must use scaffolding for this, here are some recommendations
Use Gulp
angular-es6-practice
Projects using AngularJS
http://www.baidu-x.com/?q=angularjs%E9%A1%B9%E7%9B%AE%E6%A1%88%E4%BE%8B
There are many on github, and they are installed directly.
You can try yoeman to construct an angularjs scaffolding project, although it is based on grunt. But it’s perfectly fine to build a basic angular project. You can see how the scaffolding tool does it, and you’ll have a benchmark for your angular project in the future.
I built a project structure myself and wrote some main gulp configuration files to coordinate with the automation work!