[frontend-next] Refactored configs, terminal

This commit is contained in:
0xJacky 2022-07-31 20:04:41 +08:00
parent 3b49053525
commit d2fb41fbdf
57 changed files with 1917 additions and 1224 deletions

View file

@ -0,0 +1,13 @@
import http from '@/lib/http'
const ngx = {
build_config(ngxConfig: any) {
return http.post('/ngx/build_config', ngxConfig)
},
tokenize_config(content: string) {
return http.post('/ngx/tokenize_config', {content})
}
}
export default ngx