how to switch the online and offline domain name url and how to configure
config?
ask for answers
how to switch the online and offline domain name url and how to configure
config?
ask for answers
define your domain name in dev.env.js
and prod.env.js
to
just quote the name directly in js
you can refer to this article, just like your problem, you can continue to communicate if you have any questions. the project built by vue-cli deals with requests for different domain names in different environments
Previous: Ask everyone to help write a rule?
Next: What is the reason for the error report when using vue-sortable?
is not too cumbersome. The title has been stated very clearly. Go directly to the code. The App.vue is as follows: <template> <div id="app"> <transition :name="transitionName"> <router-view class=&qu...
data wrapperHeight: 0, mounted mounted () { this.wrapperHeight = 589.5 }, using the nuxt frame to refresh the page can be assigned normally, but the value returned by routing to another page and $router.back (- 1) is 0. use watch to listen ...
question now the requirement is to package a piece of code, but for multiple projects, it is packaged and put directly locally, and tested with tomcat services. For example, http: localhost:39090 segment fault a main http: localhost:39090 seg...
I see Baidu says it doesn t seem to need routing, but how do I let vue know that I click on the last tab to activate the jump command? add: my requirement is that only the home page of the existing page needs to be rendered by nuxt server, that is, o...
my display in Google is normal, but the display in the IE Flowmeter is not normal. I tried the babel-polyfill method mentioned on the Internet, but did not solve 1. This is the IE11 browser 2, 3,babel-polyfill,.? ...