chore: no need to inject custom preambles

pull/18/head
Evan You 5 years ago
parent 0d462b4256
commit 7a90c4f870

@ -1,5 +1,5 @@
import { PageData } from '../../../../types/shared'
import { inject, InjectionKey, Ref } from 'vue'
import { PageData } from '../../../../types/shared'
export type PageDataRef = Ref<PageData>

@ -1,7 +1,2 @@
<div id="app"></div>
<script>
window.__DEV__ = true
window.__BASE__ = '/' // TODO handle base!
window.process = { env: { NODE_ENV: 'development'} }
</script>
<script type="module" src="/@app/index.js"></script>

Loading…
Cancel
Save