diff --git a/package-lock.json b/package-lock.json index a237bf1..02fd0a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8294,6 +8294,11 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "vuex": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.3.0.tgz", + "integrity": "sha512-1MfcBt+YFd20DPwKe0ThhYm1UEXZya4gVKUvCy7AtS11YAOUR+9a6u4fsv1Rr6ePZCDNxW/M1zuIaswp6nNv8Q==" + }, "w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", diff --git a/package.json b/package.json index 98c2553..b0742ae 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "do-vue": "git+https://github.com/do-community/do-vue.git", "parcel-bundler": "^1.12.4", "vue": "^2.6.11", - "vue-hot-reload-api": "^2.3.3" + "vue-hot-reload-api": "^2.3.3", + "vuex": "^3.3.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.9.0", diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue index bd84c0e..0e8bc3b 100644 --- a/src/nginxconfig/templates/app.vue +++ b/src/nginxconfig/templates/app.vue @@ -26,21 +26,43 @@ limitations under the License. +
+ +
+ diff --git a/src/nginxconfig/templates/domain_sections/https.vue b/src/nginxconfig/templates/domain_sections/https.vue new file mode 100644 index 0000000..920e4eb --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/https.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/index.js b/src/nginxconfig/templates/domain_sections/index.js new file mode 100644 index 0000000..03a9f56 --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/index.js @@ -0,0 +1,8 @@ +export { default as Presets } from './presets'; +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'; diff --git a/src/nginxconfig/templates/domain_sections/logging.vue b/src/nginxconfig/templates/domain_sections/logging.vue new file mode 100644 index 0000000..7721926 --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/logging.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/php.vue b/src/nginxconfig/templates/domain_sections/php.vue new file mode 100644 index 0000000..1e103f3 --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/php.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/presets.vue b/src/nginxconfig/templates/domain_sections/presets.vue new file mode 100644 index 0000000..5e1492a --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/presets.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/python.vue b/src/nginxconfig/templates/domain_sections/python.vue new file mode 100644 index 0000000..8d4fbd4 --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/python.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/reverse_proxy.vue b/src/nginxconfig/templates/domain_sections/reverse_proxy.vue new file mode 100644 index 0000000..0dc162d --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/reverse_proxy.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/routing.vue b/src/nginxconfig/templates/domain_sections/routing.vue new file mode 100644 index 0000000..5a245da --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/routing.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/nginxconfig/templates/domain_sections/server.vue b/src/nginxconfig/templates/domain_sections/server.vue new file mode 100644 index 0000000..75664b9 --- /dev/null +++ b/src/nginxconfig/templates/domain_sections/server.vue @@ -0,0 +1,71 @@ + + +