hydrogen setup vitecommand
command
EXPERIMENTAL: Upgrades the project to use Vite.
Anchor to flagsFlags
The following flags are available for the hydrogen setup vite
command:
- Anchor to --path <value>--path <value>stringenv: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
hydrogensetupvite
- --path <value>
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
string
export interface hydrogensetupvite {
/**
* The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
* @environment SHOPIFY_HYDROGEN_FLAG_PATH
*/
'--path <value>'?: string
}
Was this section helpful?
Hydrogen setup vite
shopify hydrogen setup vite [flags]
examples
hydrogen setup vite
hydrogen setup vite
shopify hydrogen setup vite [flags]