Installation

Table of Contents

  1. Install
  2. Create configuration

Install

First, install the NPM module

npm i @liquidlight/vite-framework

Note: Depending on your local npm set up (if you have save=false in your .npmrc file), you may need npm i @liquidlight/vite-framework --save -D instead

Create configuration

Create a vite.config.ts for your vite configuration and include the configuration function from the framework

import { defineConfig, configuration } from '@liquidlight/vite-framework';

export default defineConfig(
	configuration()
);