-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
# Frontvue-Plugin-Pug | ||
# Frontvue-Plugin-JS | ||
|
||
[![Build Status](https://travis-ci.org/0vidiu/frontvue-plugin-pug.svg?branch=master)](https://travis-ci.org/0vidiu/frontvue-plugin-pug) [![codecov](https://codecov.io/gh/0vidiu/frontvue-plugin-pug/branch/master/graph/badge.svg)](https://codecov.io/gh/0vidiu/frontvue-plugin-pug) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
[![Build Status](https://travis-ci.org/0vidiu/frontvue-plugin-js.svg?branch=master)](https://travis-ci.org/0vidiu/frontvue-plugin-js) [![codecov](https://codecov.io/gh/0vidiu/frontvue-plugin-js/branch/master/graph/badge.svg)](https://codecov.io/gh/0vidiu/frontvue-plugin-js) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
|
||
## A Frontvue plugin for Pug boilerplate and processing | ||
This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles Pug files and comes with a boilerplate template of Pug partials. It comes with the following tasks: | ||
* *pug:config* — registers a configuration questionnaire; | ||
* *pug:template* — copies the Pug template; | ||
* *pug:clean* — removes the build folder; | ||
* *pug:process* — handles compiling of Pug partials; | ||
* *pug:watch* — starts listeners for changes in Pug partials; | ||
## A Frontvue plugin for JavaScript boilerplate and processing | ||
This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles JavaScript ES6 files and comes with a boilerplate template (w.i.p). It comes with the following tasks: | ||
* *js:config* — registers a configuration questionnaire; | ||
* *js:template* — copies the JavaScript ES6 template; | ||
* *js:clean* — removes the build folder; | ||
* *js:process* — handles compiling of JS partials; | ||
* *js:watch* — starts listeners for changes in JS partials; | ||
|
||
## Default configuration | ||
```js | ||
{ | ||
// Source files directory name | ||
sourceDir: 'pug', | ||
sourceDir: 'js', | ||
|
||
// Directory name where the HTML file(s) will be outputted | ||
buildDir: 'html' | ||
// Directory name where the JS file(s) will be outputted | ||
buildDir: 'js', | ||
|
||
// Entry point(s) | ||
entrypoints: 'index.js', | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters