generated from Seekra/repository-template
set up Pinia
This commit is contained in:
@@ -15,6 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia';
|
||||
import App from './App.vue'
|
||||
import { i18n, loadLanguage } from './i18n';
|
||||
import getCurrentLanguage from './utils/currentLanguage';
|
||||
@@ -24,7 +25,10 @@ import './styles/variables/colors.css'
|
||||
|
||||
await loadLanguage(getCurrentLanguage());
|
||||
|
||||
const pinia = createPinia();
|
||||
|
||||
createApp(App)
|
||||
.use(router)
|
||||
.use(i18n)
|
||||
.use(pinia)
|
||||
.mount('#app')
|
||||
Reference in New Issue
Block a user