Created
July 14, 2020 07:59
-
-
Save sonicoder86/099944162f3237abfd00b0cdc587b834 to your computer and use it in GitHub Desktop.
You Might Not Need Vuex - part 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createApp, reactive } from 'vue'; | |
import App from './App.vue'; | |
import { stateSymbol, createState } from './store'; | |
const app = createApp(App); | |
app.provide(stateSymbol, createState()); | |
app.mount('#app'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment