ACE and AUI 7 and 8

Hello,
The examples on using AUI in ACE all use AUI 5.8.12:

with calls like:

<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/5.8.12/css/aui.css" media="all">

Is this usage still supported in newer AUI versions like 7 and 8? Asking because the AUI documentation in Bitbucket explicitly states that consuming AUI through a CDN is not officially supported. The supported methods are through NPM, as a P2 plugin, and as a download. These supported methods seem not to be applicable to ACE? The site https://aui-cdn.atlassian.com/ only lists AUI 6.0.9.

As a followup, how is one supposed to load Dropdowns - AUI Documentation in ACE, as the Web resource key is not applicable?

Help very much appreciated, @acalantog @nmansilla @daz

This is just from my personal experience playing around with the newer AUI files, so take it with a grain of salt.

The newer files are not hosted on the AUI CDN anymore but are available on other CDNs such as unpkg. You are right, the docs say it’s not officially supported but for me everything seems to work fine if I load these resorces:

<link rel="stylesheet" href="https://unpkg.com/@atlassian/aui@8.5.1/dist/aui/aui-prototyping.css" media="all">
<script src="https://unpkg.com/@atlassian/aui@8.5.1/dist/aui/aui-css-deprecations.js"></script>
<script src="https://unpkg.com/@atlassian/aui@8.5.1/dist/aui/aui-prototyping.js"></script>

As far as I can tell you don’t need to worry about web resource keys if you require the whole script. Everything should just be available. :slight_smile:

4 Likes