Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

easy import reactjs

/* 
	Create a jsconfig.json in the root of your project 
    then add the following code snippet.
    
    use replace "src" with "." if you are using NextJS
*/

{
  "compilerOptions": {
    "baseUrl": "src"
  },
  "include": ["src"]
}
 
PREVIOUS NEXT
Tagged: #easy #import #reactjs
ADD COMMENT
Topic
Name
3+4 =