i has a lot text in project so i make a js file just for text , and add this file to index.html , when use this file have error but when inspect code i can see text ,
faBundleForms.js
const forms = {
changeProfitDate: {
note_1: 'user ',
note_2: 'add '
}
};
add to index.html
`<script src="../static/faBundleForms.js" type="text/javascript">`</script>
use to project
<p>{forms.changeProfitDate.note_1}</p>
i have this error
'forms' is not defined