mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
- Added VitePWA
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
"socket.io-client": "^4.6.1",
|
||||
"uuid": "^9.0.1",
|
||||
"vite": "^5.0.2",
|
||||
"vite-plugin-pwa": "^0.17.0",
|
||||
"vite-plugin-react-js-support": "^1.0.7",
|
||||
"yup": "^0.32.9"
|
||||
},
|
||||
|
||||
Generated
+172
-126
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,30 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import { resolve } from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, 'src')
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
VitePWA({
|
||||
manifest: {
|
||||
name: 'FlowiseAI - Build LLMs Apps Easily',
|
||||
short_name: 'Flowise',
|
||||
theme_color: '#00000000',
|
||||
icons: [
|
||||
{
|
||||
src: '/public/favicon-32x32.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'any maskable'
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user