Answer the question
In order to leave comments, you need to log in
How to get data from local js file?
there is a js file in it data in the form:
export const products = [
{
"name": "mobile1",
"type": "big",
"color": "green",
},
{
"name": "mobile2",
"type": "small",
"color": "blue",
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question