You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
280 B
13 lines
280 B
import App from './App'
|
|
import request from './common/request';
|
|
import store from './store';
|
|
import { createSSRApp } from 'vue'
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
app.use(store);
|
|
app.config.globalProperties.$http = request
|
|
return {
|
|
app
|
|
}
|
|
}
|
|
|