-import { computed, createApp, inject, markRaw, Ref } from 'vue'
+import { computed, createApp, markRaw, Ref } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import { router } from './router'
RouteLocationNormalized,
RouteLocationNormalizedLoaded,
} from 'vue-router'
-import { useCounter } from './stores/counterSetup'
const pinia = createPinia()
// }
}
-const app = createApp(App).use(pinia).use(router).provide('hello', 'injections')
+const app = createApp(App).use(pinia).use(router)
app.mount('#app')
-
-console.log(
- 'hello',
- app.runWithContext(() => inject('hello'))
-)
-
-const store = useCounter()