Export array from setup sections
parent
a9de531ec9
commit
9eda0c0ea8
|
@ -64,9 +64,7 @@ THE SOFTWARE.
|
|||
import Tar from 'memory-tar-create';
|
||||
import ClipboardJS from 'clipboard';
|
||||
import analytics from '../util/analytics';
|
||||
import * as Sections from './setup_sections';
|
||||
|
||||
const tabs = Object.values(Sections);
|
||||
import Sections from './setup_sections';
|
||||
|
||||
export default {
|
||||
name: 'Setup',
|
||||
|
@ -75,8 +73,8 @@ THE SOFTWARE.
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
active: tabs[0].key,
|
||||
tabs,
|
||||
active: Sections[0].key,
|
||||
tabs: Sections,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
Copyright 2021 DigitalOcean
|
||||
|
||||
This code is licensed under the MIT License.
|
||||
You may obtain a copy of the License at
|
||||
|
@ -24,7 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
export { default as Download } from './download';
|
||||
export { default as SSL } from './ssl';
|
||||
export { default as Certbot } from './certbot';
|
||||
export { default as GoLive } from './go_live';
|
||||
import Download from './download';
|
||||
import SSL from './ssl';
|
||||
import Certbot from './certbot';
|
||||
import GoLive from './go_live';
|
||||
|
||||
export default [ Download, SSL, Certbot, GoLive ];
|
||||
|
|
Loading…
Reference in New Issue