@@ -63,9 +66,9 @@ THE SOFTWARE.
import analytics from '../util/analytics';
import isChanged from '../util/is_changed';
import Presets from './domain_sections/presets';
- import * as Sections from './domain_sections';
+ import Sections from './domain_sections';
- const tabs = Object.values(Sections);
+ const tabs = Sections;
const delegated = {
hasUserInteraction: false,
presets: Presets.delegated,
diff --git a/src/nginxconfig/templates/domain_sections/index.js b/src/nginxconfig/templates/domain_sections/index.js
index 8f2269e..90ab1d3 100644
--- a/src/nginxconfig/templates/domain_sections/index.js
+++ b/src/nginxconfig/templates/domain_sections/index.js
@@ -24,12 +24,24 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-export { default as Server } from './server';
-export { default as HTTPS } from './https';
-export { default as PHP } from './php';
-export { default as Python } from './python';
-export { default as ReverseProxy } from './reverse_proxy';
-export { default as Routing } from './routing';
-export { default as Logging } from './logging';
-export { default as Restrict } from './restrict';
-export { default as Onion } from './onion';
+import Server from './server';
+import HTTPS from './https';
+import PHP from './php';
+import Python from './python';
+import ReverseProxy from './reverse_proxy';
+import Routing from './routing';
+import Logging from './logging';
+import Restrict from './restrict';
+import Onion from './onion';
+
+export default [
+ Server,
+ HTTPS,
+ PHP,
+ Python,
+ ReverseProxy,
+ Routing,
+ Logging,
+ Restrict,
+ Onion,
+];
diff --git a/src/nginxconfig/templates/global.vue b/src/nginxconfig/templates/global.vue
index cb3bd2c..777e773 100644
--- a/src/nginxconfig/templates/global.vue
+++ b/src/nginxconfig/templates/global.vue
@@ -28,7 +28,10 @@ THE SOFTWARE.
diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue
index deba1e2..e2806a8 100644
--- a/src/nginxconfig/templates/setup.vue
+++ b/src/nginxconfig/templates/setup.vue
@@ -29,7 +29,10 @@ THE SOFTWARE.