$ npm install @poi/plugin-typescript
yarn add typescript @poi/plugin-typescript --dev
// poi.config.js
module.exports = {
plugins: [
require('@poi/plugin-typescript')(/* options */)
]
}
You will also need a tsconfig.json in your project, to make it work in Vue project, please check out https://vuejs.org/v2/guide/typescript.html
Options for ts-loader.
MIT © EGOIST
© 2010 - cnpmjs.org x YWFE | Home | YWFE