Skip to content

ILLA 本地开发问题 #704

Closed Answered by AruSeito
PeanutQAQ asked this question in Q&A
Dec 22, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

您好,在本地开发时需要您自行配置服务端 API 地址。
你可以在 apps/builder 下建立文件 .env.cloud.local

VITE_API_BASE_URL=localhost/api/v1
VITE_PROXY_API_BASE_URL=xxxxx.com

目前不建议您进行本地开发,本地开发流程配置比较繁琐,后续才会对这个进行优化。建议您尝试使用 illa-cli 进行部署。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@timeTravelCYN
Comment options

@AruSeito
Comment options

Answer selected by PeanutQAQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants