Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use file js

app.use("/", express.static(path.join(__dirname, "public")));

app.use("/styles", express.static(path.join(__dirname, "public/index.css")));
app.use("/js", express.static(path.join(__dirname, "public/index.js")));
 
PREVIOUS NEXT
Tagged: #file #js
ADD COMMENT
Topic
Name
2+5 =