Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gluons/gridsome-plugin-pug
@pugjs plugin for @gridsome.
https://github.com/gluons/gridsome-plugin-pug
gridsome gridsome-plugin pug pugjs
Last synced: 2 months ago
JSON representation
@pugjs plugin for @gridsome.
- Host: GitHub
- URL: https://github.com/gluons/gridsome-plugin-pug
- Owner: gluons
- License: mit
- Created: 2019-03-16T16:18:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T04:36:16.000Z (5 months ago)
- Last Synced: 2024-09-27T08:40:48.982Z (3 months ago)
- Topics: gridsome, gridsome-plugin, pug, pugjs
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/gridsome-plugin-pug
- Size: 93.8 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gridsome-plugin-pug
[![GitHub](https://img.shields.io/github/license/gluons/gridsome-plugin-pug.svg?style=flat-square)](./LICENSE)
[![npm](https://img.shields.io/npm/v/gridsome-plugin-pug.svg?style=flat-square)](https://www.npmjs.com/package/gridsome-plugin-pug)
[![npm](https://img.shields.io/npm/dt/gridsome-plugin-pug.svg?style=flat-square)](https://www.npmjs.com/package/gridsome-plugin-pug)[Pug](https://pugjs.org/) plugin for [Gridsome](https://gridsome.org/).
> This plugin will add [pug-plain-loader](https://github.com/yyx990803/pug-plain-loader) for using Pug in Vue single file component (`.vue`).
> And add [pug-loader](https://github.com/pugjs/pug-loader) for importing `.pug` file directly.## Installation
```bash
npm install -D pug gridsome-plugin-pug
# or
yarn add -D pug gridsome-plugin-pug
```## Usage
```js
module.exports = {
plugins: [
{
use: 'gridsome-plugin-pug',
options: {
pug: { /* Options for `pug-plain-loader` */ },
pugLoader: { /* Options for `pug-loader` */ }
}
}
]
};
```