Questions about office addins
Hello,
I'm trying to install the @microsoft/office-js tried with 'npm i @microsoft/office-js' but when importing
import * as Excel from '@microsoft/office-js/excel'; import { Office } from '@microsoft/office-js'; to my js file getting error
ERROR in ./src/components/ExcelInteractive.js 9:0-52
Module not found: Error: Can't resolve '@microsoft/office-js/excel' in '/Users/cibi/Singularium/testing/excel-interactive/src/components'
ERROR in ./src/components/ExcelInteractive.js 10:0-46
Module not found: Error: Can't resolve '@microsoft/office-js' in '/Users/cibi/Singularium/testing/excel-interactive/src/components'
I could see @microsoft folder in the node_modules as per npmjs also tried copying office.js from ode_modules@microsoft\office-js\dist to /assets/office-js/ but that also didn't work