rm unrelated files
This commit is contained in:
parent
0b8442ed26
commit
be664aa70b
2 changed files with 0 additions and 36 deletions
|
@ -1,15 +0,0 @@
|
|||
import { createApp } from './main';
|
||||
|
||||
export default context => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const { app, router } = createApp();
|
||||
router.push(context.url)
|
||||
router.onReady(() => {
|
||||
const matchedComponents = router.getMatchedComponents();
|
||||
if (!matchedComponents.length) {
|
||||
reject({ code: 404 });
|
||||
}
|
||||
resolve(app);
|
||||
}, reject);
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue