<h4 dir="auto">Describe the issue</h4>
<p dir="auto">Just upgrading a project from quasar 1 to 2. Have a simple Axios integration but have isolated the problem to an even smaller example.  I get double base urls on my requests.</p>
<h4 dir="auto">Example Code</h4>
<p dir="auto">I have a boot.ts file exports a boot function like this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default boot(() =&gt; {
axios.defaults.baseURL = process.env.REMOTE;
void axios.get('/user/renewToken')
.then((response) =&gt; {
console.log('got response');
console.log(response);
});
});"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">boot</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
<span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-c1">defaults</span><span class="pl-kos">.</span><span class="pl-c1">baseURL</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">REMOTE</span><span class="pl-kos">;</span>
<span class="pl-k">void</span> <span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'/user/renewToken'</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'got response'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h4 dir="auto">Expected behavior, if applicable</h4>
<p dir="auto">I expect to get a simple request to <a href="http://localhost:8081/user/renewToken" rel="nofollow">http://localhost:8081/user/renewToken</a></p>
<h4 dir="auto">Environment</h4>
<ul dir="auto">
<li>Axios Version [e.g. 0.21.1]</li>
<li>Adapter [e.g. XHR/HTTP]</li>
<li>Browser [Safari]</li>
<li>Browser Version [e.g. 14.1.1]</li>
<li>Node.js Version [e.g. 14.17.3]</li>
<li>OS: [MacOS 14.4]</li>
<li>Quasar v2</li>
</ul>
<h4 dir="auto">Additional context/Screenshots</h4>
<p dir="auto">Add any other context about the problem here. If applicable, add screenshots to help explain.</p>
<h4 dir="auto">Describe the bug</h4>
<p dir="auto">In version 1.1.0 (via unpkg cdn <a href="https://unpkg.com/axios/dist/axios.min.js" rel="nofollow">https://unpkg.com/axios/dist/axios.min.js</a>)<br>
<code class="notranslate">axios.create</code> is undefined.</p>
<h4 dir="auto">To Reproduce</h4>
<p dir="auto">Create an html document with<br>
<code class="notranslate">&lt;script src="https://unpkg.com/axios/dist/axios.min.js"&gt;&lt;/script&gt;</code></p>
<p dir="auto">From JS, attempt to access <code class="notranslate">axios.create</code></p>
<p dir="auto">Result: undefined.</p>
<h4 dir="auto">Expected behavior</h4>
<p dir="auto"><code class="notranslate">axios.create</code> To be defined and point to where it should.</p>
<h4 dir="auto">Environment</h4>
<ul dir="auto">
<li>Axios Version 1.1.0</li>
<li>Electron/10.2.0 Chrome/85.0.4183.121</li>
<li>Node/12.16.3</li>
<li>OS:  Win10 2004 19041.985</li>
</ul>