Production version of the AngularJS project using generator-gulp-angular



  • There is a problem in creating a sales version of the project. When I download the project at the gulp serve-- it works correctly, but when I collect a sales version of the dist using the gulp build, only the first page of index.html is launched at its further opening (the total is not operational).

    This is a reference to my project repository on github: https://github.com/reflection937/my_lab

    I'll be grateful for any help.



  • Mistake in the name of the templateCache module in my_lab/gulp/build.js:23 Your global module is called MyLabApp, the same must be specified there.

    module: 'MyLabApp',
    

    The console in the browser says he can't find myLab module.

    I hope so. Good luck!

    P.S. Team gulp build It only collects a bill in the folder. To pick up the server and see the results of the sales bill, a team needs a team. gulp serve:dist




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2