koas / hivuely

Convert .vue files to JS / CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hivuely

Convert .vue files to JS / CSS. Requires PHP to be installed in your computer.

Download the hiveuly file and mark it as executable.

Usage: hivuely componentFolder jsOutputFile cssOutputFile

The script will look in the componentFolder folder for .vue files. The style blocks will be added to the cssOutputFile, the template block will be inserted inside the template member of the Vue.component parameter and then the script block will be added to the jsOutputFile.

IMPORTANT: the template member of the Vue.component parameter MUST be `` (an empty string with backticks).

About

Convert .vue files to JS / CSS

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%