1.0.1 • Published 2 years ago

@hadeshe93/vtconfig-mw-vue3 v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

A middleware should be used with @hadeshe93/vite-chain in order to support the app project based on vue.

Installation

$ npm install @hadeshe93/vtconfig-mw-vue3 --save

Usage

// use it in esm
import ChainConfig from '@hadeshe93/vite-chain';
import getMWVue3, { Options } from '@hadeshe93/vtconfig-mw-vue3';

// return a ViteChainConfig instance
const options: Options = {
  // ...
};
const chainConfig = getMWVue3(options)(
  new ChainConfig()
);
// get config in json format
const viteConfig = chainConfig.toConfig();
// ...
1.0.1

2 years ago

1.0.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago