I would argue that both current answers stray close to circular logic regarding the derivative of $a^x$. I offer this proof which instead defines $e^x$ and its derivatives and uses this to prove facts about $a^x$.
Define
$$\ln(x)=\int_{1}^x \frac{1}{t}dt$$
Note that here we are not assuming that $\ln(x)=\log(x)$ although we will eventually show this to be the case.
$1)$ For any $r\in\mathbb{R}$ we have
$$\frac{d}{dx}\ln(x^r)=\frac{du}{dx}\frac{d}{du}\ln(u)$$
where $u=x^r$. Then
$$=rx^{r-1}\frac{1}{u}=\frac{rx^{r-1}}{x^r}=\frac{r}{x}$$
In a similar manner, we have
$$\frac{d}{dx} r\ln(x)=\frac{r}{x}$$
Since the derivatives are equal, we may conclude
$$\ln(x^r)=r\ln(x)+C$$
for some constant $C$. To find this, note that at $x=1$ we have
$$\ln(1)=\int_1^1\frac{1}{t}dt=0$$
Thus
$$0=\ln(1)=\ln(1^r)=r\ln(1)+C=C$$
We conclude that for all $r\in\mathbb{R}$ we have $\ln(x^r)=r\ln(x)$.
$2)$ Consider
$$\lim_{x\to 0}\frac{\ln(1+x)}{x}$$
We can bound the quantity by geometric arguements
$$\frac{1}{1+|x|}=\frac{1}{x}\cdot x\cdot \frac{1}{1+|x|}\leq \frac{1}{x}\int_1^{1+x}\frac{1}{t}dt\leq \frac{1}{x}\cdot x\cdot \frac{1}{1-|x|}=\frac{1}{1-|x|}$$
By the squeeze theorem we may conclude
$$\lim_{x\to 0}\frac{\ln(1+x)}{x}=1$$
$3)$ Define
$$e=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n$$
Note that we are not assuming that $e=\sum_{n=0}^\infty\frac{1}{n!}$. We have
$$\ln(e)=\ln\left(\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n\right)$$
Since $e\geq 1$ and $\ln(x)$ is continuous for all positive real numbers, this becomes
$$=\lim_{n\to\infty}\ln\left(1+\frac{1}{n}\right)^n=\lim_{n\to\infty}n\ln\left(1+\frac{1}{n}\right)$$
Using the limit proved in $2)$ this becomes
$$=\lim_{n\to\infty}n\cdot \frac{1}{n}=\lim_{n\to\infty}1=1$$
$4)$ This then implies
$$\ln(e^x)=x\ln(e)=x\cdot 1=x$$
Since both $\ln(x)$ and $e^x$ are increasing functions on their domains, this is enough to conclude that these are inverse functions.
$5)$ We will now state the inverse function theorem:
Suppose that $f(x)$ and $g(x)$ are inverse functions. Then
$$\frac{d}{dx}f(x)=\frac{1}{g'(f(x))}$$
Using this with $\ln(x)$ and $e^x$ gives us
$$\frac{d}{dx}e^x=\frac{1}{\left.\frac{d}{dx}\ln(x)\right|_{e^x}}=e^x$$
as desired.
$6)$ With this, we can now construct the Taylor series for $e^x$ about $x=0$. By induction, we have that
$$e^x=\sum_{n=0}^\infty \frac{x^n}{n!}$$
and it is not difficult to show that the series converges absolutely with an infinite radius of convergence. However, we already know that $\ln(x)$ is the inverse function of this series. We conclude that $\log(x)=\ln(x)$.
$7)$ Finally, we have
$$\frac{d}{dx}a^x=\frac{d}{dx} e^{\ln(a^x)}=\frac{d}{dx} e^{x\ln(a)}=\ln(a)e^{x\ln(a)}=\ln(a)e^{\ln(a^x)}=\ln(a)a^x$$
However, using the limit definition we have
$$\frac{d}{dx}a^x=\lim_{h\to 0}\frac{a^{x+h}-a^x}{h}=a^x\lim_{h\to 0}\frac{a^{h}-1}{h}$$
We conclude
$$\lim_{h\to 0}\frac{a^{h}-1}{h}=\log(a)$$