import Vue from "vue";
import VueResource from "vue-resource";
import Carousel from "./components/Carousel.vue";
import styles from './carousel.css';

Vue.use(VueResource);
Vue.config.debug = true;

const carousel = new Vue({
    el: "#your-application-id",
    components: { Carousel },

    mounted() {
        // Debug purpose
        if(Vue.config.debug)
        {
            console.log("Debug is on");
        }
    }
});

import Vue from "vue";
import VueResource from "vue-resource";
import Carousel from "./components/Carousel.vue";
import styles from './carousel.css';

Vue.use(VueResource);
Vue.config.debug = true;

const carousel = new Vue({
    el: "#your-application-id",
    components: { Carousel },

    mounted() {
        // Debug purpose
        if(Vue.config.debug) {
            console.log("Debug is on");
        }
    }
});

Remove new line from the if
Remove new line from the if