ExpressJS Pass variables to JavaScript

后端 未结 5 1356
谎友^
谎友^ 2021-02-07 12:35

I am completely lost on this; I am using NodeJS to fetch a JSON and I need to pass the variable to my page and have JavaScript use the data.

app.get(\'/test\', f         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-07 13:11

    As Timothy said:

    
    
                                     
                  
提交回复
热议问题