mjcEatYou

Results 3 comments of mjcEatYou

demo里的assets 配置,dev和prod写在一起的,我感觉这种方式不太好,我把它拆了出来, config.prod.js ```javascript config.assets = { url: "https://xxx.cdn.com", publicPath: "/xxx/v1.0.0/" }; ``` config.local.js ```javascript config.assets = { url: "http://192.168.6.86:8000", devServer: { debug: true, command: "umi dev", port: 8000, env:...

@popomore 我的意思是,配置里的url选项在local环境下是不起作用的

I excepted that there may be something to do with typings, but I haven't used TypeScript before, any suggestions?