floryst / CustomVolViewTemplate

1 stars 1 forks source link

Custom VolView Template

This custom app template uses file overrides to customize a webapp built using Vite.

Getting Started

  1. Edit package.json to configure the version of "volview" that you want to customize.
  2. Run npm install.

Once everything has been installed, you can look inside app/ for a sample file override, which updates some configuration keys.

All vite commands are supported:

Override Behavior

File overriding is the primary customization behavior of this template. Files inside the override directory must match the relative file path in the core repository in order to be overridden.

Imports can be classified into 3 types: override-to-override, override-to-core, and core-to-core.

Targeting a different project name + repo

This repo by default customizes the "volview" project pointed to in package.json, with an override folder called app/. If you are interested in renaming the customization target or the override folder, here's what you need to change.