summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/environments/new.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/environments/new.js')
-rw-r--r--app/assets/javascripts/environments/new.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/environments/new.js b/app/assets/javascripts/environments/new.js
new file mode 100644
index 00000000000..76aaf809d17
--- /dev/null
+++ b/app/assets/javascripts/environments/new.js
@@ -0,0 +1,11 @@
+import Vue from 'vue';
+import NewEnvironment from './components/new_environment.vue';
+
+export default (el) =>
+ new Vue({
+ el,
+ provide: { projectEnvironmentsPath: el.dataset.projectEnvironmentsPath },
+ render(h) {
+ return h(NewEnvironment);
+ },
+ });