vite-plugin-print-urls
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

vite-plugin-print-urls

print server urls


before use

下午1:12:56 [vite] page reload index.html
下午1:13:01 [vite] hmr update index.css

after 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 expose

Install

npm i -D vite-plugin-print-urls

Add plugin to your vite.config.ts:

import PrintUrlsPlugin from 'vite-plugin-print-urls'

export default defineConfig(() => {
    return {
        plugins: [
            PrintUrlsPlugin()
        ],
    }
})

Readme

Keywords

Package Sidebar

Install

npm i vite-plugin-print-urls

Weekly Downloads

635

Version

0.1.2

License

MIT

Unpacked Size

4.97 kB

Total Files

6

Last publish

Collaborators

  • yzydeveloper