An open API service indexing awesome lists of open source software.

https://github.com/paulpflug/vue-autocompile

Auto compile vue file on save
https://github.com/paulpflug/vue-autocompile

Last synced: 9 months ago
JSON representation

Auto compile vue file on save

Awesome Lists containing this project

README

          

# vue-autocompile package

Auto compile vue file on save.

---

Add the parameters on the first line of the vue file.

```
out (string): relative path to html file to create
hot (bool): should it contain vue-hot-reload-api (default:false)
```

```
// out: .
```

```
// out: ../build/
```

```
// out: . ,hot: true
```

Uses the vue-compiler installation of your current project, but falls back to its own vue-compiler installation if there is none. Never uses a global one.

Vue-compiler is called over its own cli, so it runs in node and not in atom.

## License
Copyright (c) 2015 Paul Pflugradt
Licensed under the MIT license.