FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

Some programming problems

Open jcxjcx123 opened this issue 2 years ago • 2 comments

Hello Sir, I want to rewrite and add some features, but I am not familiar with Node.js and angular.js, so I would like to ask you some questions. For example, login popover title, I'm in... \ client\src\app\login\login.component.htmllogin.com ponent. HTML, change in the title does not work, need to go to the main XXXXX. Changes in js, However, the amount of main.xxxx.js code is too much, it is not convenient to change, could you please give me a solution

pic2 pic1

jcxjcx123 avatar Apr 24 '22 09:04 jcxjcx123

Hi, if you are debugging then, it should be compiled automatically, while if you want to see it on production (localhost:1881) you have to:

cd client
ng build --prod

unocelli avatar Apr 24 '22 20:04 unocelli

Angular is a typescript framework which works by compiling the project source is TS into a bundled, "optimized", and obscured JS source code, which is the code sent to the client. Main.xxxx.js is the output of the compiler, and the code executed in the client frontend.

Follow the instructions in https://angular.io/start/start-deployment to learn about the framework and how to deploy the frontend, otherwise should be really difficult to change properly and consistently the frontend behavior.

AngelFernandezSobrino avatar Apr 26 '22 16:04 AngelFernandezSobrino