angular multi enviroment

angular 多配置文件设置

添加src/environment/environment.mycusom.ts

1
2
3
export default {
// ...
}

angular build locally cors error

replace --base-href="/" to --base-href="#"

1
npm run build -- --bash-href="#"
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×