seagull-js / seagull-cli

The best way to start, develop and deploy Seagull Apps.
https://seagull-js.github.io/seagull-cli/
GNU Lesser General Public License v3.0
2 stars 0 forks source link

typesafe API access in frontend #42

Closed Harper04 closed 5 years ago

Harper04 commented 6 years ago
import {$API} from '../../backend/myapi'

await $API(params:)

Should cut all backend specific code from bundle