-
Notifications
You must be signed in to change notification settings - Fork 421
integration with tidewave, which allows for AI agent driven UI development. #5260
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,8 @@ import istanbul from 'vite-plugin-istanbul'; | |
| import { fileURLToPath, URL } from 'url'; | ||
| import path from 'path'; | ||
| import { defaultConfig } from './src/config/default'; | ||
| import tidewave from 'tidewave/vite-plugin'; | ||
|
|
||
|
|
||
| const isElectron = defaultConfig.app.type === 'ELECTRON'; | ||
| // set path to index.tsx in the index.html | ||
|
|
@@ -34,6 +36,7 @@ if (defaultConfig.api.hostedBase) { | |
| export default defineConfig({ | ||
| base, | ||
| plugins: [ | ||
| tidewave(), | ||
| react(), | ||
| svgr({ include: ['**/*.svg?react'] }), | ||
| reactClickToComponent(), | ||
|
|
@@ -90,6 +93,9 @@ export default defineConfig({ | |
| fs: { | ||
| allow: ['..', '../../node_modules/monaco-editor', 'static', 'defaults'], | ||
| }, | ||
| proxy: { | ||
| "/tidewave": `http://localhost:5540` // your backend port | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Incorrect Vite proxy configuration formatThe proxy configuration uses a string value directly instead of an object with a |
||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Tidewave proxy points to wrong backend portThe proxy configuration routes |
||
| }, | ||
| envPrefix: 'RI_', | ||
| optimizeDeps: { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.