app/javascript/packs/out_forward_setting.js in fluentd-ui-1.1.0 vs app/javascript/packs/out_forward_setting.js in fluentd-ui-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
"use strict";
-import TransportConfig from "./transport_config";
-import OwnedPluginForm from "./owned_plugin_form";
+import TransportConfig from "./components/transport_config";
+import OwnedPluginForm from "./components/owned_plugin_form";
-$(document).ready(() => {
+window.addEventListener("load", () => {
new Vue({
el: "#out-forward-setting",
components: {
"transport-config": TransportConfig,
"owned-plugin-form": OwnedPluginForm,