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