vue-typescript-loader
v1.0.1
Published
autoadd lang='ts'
Downloads
37
Maintainers
Readme
vue-typescript-loader
auto add lang="ts" In order not to affect the code highlighted
before
after
install
npm i vue-typescript-loader -D
usage
{
test: /\.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
}
===================>
{
test: /\.vue$/,
use:[
{
loader: 'vue-loader',
options: vueLoaderConfig
},
{
loader: 'vue-typescript-loader'
}
]
},