10.0.0-alpha.0 • Published 6 years ago

poi-plugin-typescript v10.0.0-alpha.0

Weekly downloads
4
License
-
Repository
-
Last release
6 years ago

poi-plugin-typescript

Install

yarn add typescript poi-plugin-typescript --dev

Usage

// 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

API

presetTypescript

Add TypeScript support

Parameters

  • options Object (optional, default {})
    • options.loaderOptions any Options for ts-loader. (optional, default undefined)

License

MIT © EGOIST