Vue Pack
Packmule pack to bundle Vue single-file-components.
Overview
Setup
Vue Pack
is included in the complete
edition.
Current Release
npm install --save-dev @packmule/vue-pack vue vue-template-compiler
Nightly Build
npm install --save-dev @packmule/vue-pack@nightly vue vue-template-compiler
API
VuePack();
Usage
Example
Compile vue
files and embedded languages like TypeScript and Sass.
import Packmule from '@packmule/core';
import VuePack from '@packmule/vue-pack';
import SassPack from '@packmule/sass-pack';
import TypeScriptPack from '@packmule/typescript-pack';
const packmule = new Packmule();
packmule.add(new VuePack());
packmule.add(new SassPack());
packmule.add(new TypeScriptPack());
return packmule.generate();