Skip to content

Commit 66720a9

Browse files
authored
chore(vite): update installer instructions (tempestphp#977)
1 parent dc5323b commit 66720a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Tempest/Vite/src/Installer/ViteInstaller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ public function install(): void
105105
? sprintf('Configure <href="file://%s">vite.config.ts</href> as you see fit', $viteConfig)
106106
: null,
107107
$mainTs
108-
? sprintf("Add <code><x-vite-tags :entrypoints='%s' /></code> to your template", json_encode(array_filter([$mainCss, $mainTs]), JSON_UNESCAPED_SLASHES))
108+
? sprintf("Add <code><x-vite-tags :entrypoints='%s' /></code> to the <head> of your template", json_encode(array_filter([$mainCss, $mainTs]), JSON_UNESCAPED_SLASHES))
109109
: 'Create a file and include it in your template with <code><x-vite-tags entrypoint="./path/to/file.ts" /></code>',
110110
"Run <code>{$packageManager->getBinaryName()} dev</code> to start the <strong>development server</strong>",
111111
PHP_EOL,
112-
'<style="fg-green">→</style> Read the <href="https://tempestphp.com/docs/vite">documentation</href>',
113-
'<style="fg-green">→</style> Join the <href="https://discord.tempestphp.com">Discord server</href>',
112+
// '<style="fg-green">→</style> Read the <href="https://tempestphp.com/ocs/framework/vite">documentation</href>', // TODO: update when we have Vite docs
113+
'<style="fg-green">→</style> Join the <href="https://tempestphp.com/discord">Discord server</href>',
114114
]);
115115
}
116116
}

0 commit comments

Comments
 (0)