feat: Added Sogou Translate
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
port: 5173,
|
||||
cors: true, // 允许跨域访问
|
||||
},
|
||||
plugins: [svelte(), tailwindcss()],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user