vue-template-pre-loader-with-mark
v1.0.9
Published
[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url]
Downloads
6
Maintainers
Readme
vue-template-pre-loader-with-mark
$ npm install vue-template-pre-loader-with-mark --save-dev
Usage
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
preLoaders : {
"html":"vue-template-pre-loader-with-mark"
}
}
}
{
test: /\.vue$/,
loader: 'vue-loader',
query: {
preLoaders : {
"html":"vue-template-pre-loader-with-mark"
}
}
}
result
<div __template_path="/src/component.vue" __location_root>
<div __location="0.0" class="pagination__overlay"></div>
<div __location="0.1" class="commerce-layout-wrapper">
<div __location="0.1.0"></div>
</div>
</div>
Author
Jinwoong Han ( [email protected] )