Skip to content

Instantly share code, notes, and snippets.

@LORD-KAY
Last active August 18, 2020 22:59
Show Gist options
  • Save LORD-KAY/7c4e597974f2f914cce3ba8858456211 to your computer and use it in GitHub Desktop.
Save LORD-KAY/7c4e597974f2f914cce3ba8858456211 to your computer and use it in GitHub Desktop.
the main.js file inside the root directory of a vue js project that initialise the vue instance and uses other third party plugins
// Path may change depending on where you created the store configurations
import store from "./index.js"
new Vue({
store,
//..other plugins here
}).$mount("#app")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment