# vue-indent-pug-loader

> a vue pug template loader that the first line has space indent

Latest version **0.1.1** (published 2018-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-indent-pug-loader
pnpm add vue-indent-pug-loader
yarn add vue-indent-pug-loader
bun add vue-indent-pug-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-12-09 |
| First published | 2018-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.9.0 \|\| >= 8.9.0 |
| Dependencies | 1 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | gxlmyacc |
| Maintainers | gxlmyacc |
| Keywords | vue-indent-pug-loader, pug-loader, pug, vue, webpack |

## Links

- npm: https://www.npmjs.com/package/vue-indent-pug-loader
- Repository: https://github.com/gxlmyacc/vue-indent-pug-loader
- Homepage: https://github.com/gxlmyacc/vue-indent-pug-loader#readme
- Issues: https://github.com/gxlmyacc/vue-indent-pug-loader/issues
- npm.io page: https://npm.io/package/vue-indent-pug-loader

## Dependencies (1)

- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2018-12-09
- 0.1.0 — 2018-12-09

## README

# vue-indent-pug-loader 

this is a vue pug template loader that the first line has space indent.

## Install

```bash
npm install vue-indent-pug-loader --save-dev
```

or:

```bash
yarn add vue-indent-pug-loader --dev
```

## Usage

```js
// webpack config loaders
  {
    test: /\.pug$/,
    oneOf: [
      // this applies to <template lang="pug"> in Vue components
      { resourceQuery: /^\?vue/, use: ['vue-indent-pug-loader'] },
      // this applies to pug imports inside JavaScript
      { use: ['raw-loader', 'vue-indent-pug-loader'] }
    ]
  },
```

---
_Source: https://npm.io/package/vue-indent-pug-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
