Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
//
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
// layout file, like app/views/layouts/application.html.erb
import jQuery from "jquery/dist/jquery";
window.$ = jQuery;
window.jQuery = jQuery;
import Rails from "rails-ujs/lib/assets/compiled/rails-ujs.js";
window.Rails = Rails;
Rails.start();
import "popper.js/dist/popper";
import "bootstrap/dist/js/bootstrap";
import "startbootstrap-sb-admin/js/sb-admin";
import Vue from "vue/dist/vue.esm";
import Vuex from "vuex/dist/vuex.esm";
import BootstrapVue from "bootstrap-vue/dist/bootstrap-vue.esm";
Vue.use(Vuex);
Vue.use(BootstrapVue);
Vue.filter("to_json", function (value) {
return JSON.stringify(value);
});