Add toasts to UI (#25449)
Fixes https://github.com/go-gitea/gitea/issues/24353 In some case like async success/error, it is useful to show toasts in UI.
This commit is contained in:
parent
72c60f94c1
commit
c71e8abbc3
15 changed files with 220 additions and 20 deletions
|
@ -73,6 +73,12 @@ export default {
|
|||
'eventsource.sharedworker': [
|
||||
fileURLToPath(new URL('web_src/js/features/eventsource.sharedworker.js', import.meta.url)),
|
||||
],
|
||||
...(!isProduction && {
|
||||
devtest: [
|
||||
fileURLToPath(new URL('web_src/js/standalone/devtest.js', import.meta.url)),
|
||||
fileURLToPath(new URL('web_src/css/standalone/devtest.css', import.meta.url)),
|
||||
],
|
||||
}),
|
||||
...themes,
|
||||
},
|
||||
devtool: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue