Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can replace @ vitejs/plugin-basic-sll with vite-plugin-mkkert #8

Open
hly1445 opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@hly1445
Copy link

hly1445 commented Jul 22, 2024

This way, there is no need to configure SSL certificates locally。

//vite.config.ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import mkcert  from 'vite-plugin-mkcert'


// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), mkcert()],
  build: {
    outDir: './docs'
  },
});
@hly1445
Copy link
Author

hly1445 commented Jul 22, 2024

@kuhel

@hly1445 hly1445 changed the title You can replace @ itejs/plugin-basic-sll with vite-plugin-mkkert You can replace @ vitejs/plugin-basic-sll with vite-plugin-mkkert Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant