|
@@ -6,6 +6,7 @@ import App from './App.vue'
|
|
|
import { prototypeInterceptor, requestInterceptor } from './interceptors'
|
|
|
import i18n from './locale/index'
|
|
|
import store from './store'
|
|
|
+import Directives from './directives'
|
|
|
|
|
|
export function createApp() {
|
|
|
const app = createSSRApp(App)
|
|
@@ -14,6 +15,7 @@ export function createApp() {
|
|
|
app.use(requestInterceptor)
|
|
|
app.use(prototypeInterceptor)
|
|
|
app.use(VueQueryPlugin)
|
|
|
+ app.use(Directives)
|
|
|
|
|
|
return {
|
|
|
app,
|