0.1.2 • Published 3 years ago
vite-plugin-print-urls v0.1.2
vite-plugin-print-urls
print server urls
before use
下午1:12:56 [vite] page reload index.html
下午1:13:01 [vite] hmr update index.cssafter use
下午1:12:56 [vite] page reload index.html
> Local: http://localhost:3000/
> Network: use `--host` to expose
下午1:13:01 [vite] hmr update index.css
> Local: http://localhost:3000/
> Network: use `--host` to exposeInstall
npm i -D vite-plugin-print-urlsAdd plugin to your vite.config.ts:
import PrintUrlsPlugin from 'vite-plugin-print-urls'
export default defineConfig(() => {
return {
plugins: [
PrintUrlsPlugin()
],
}
})