Skip to content

Commit

Permalink
chore: no need to inject custom preambles
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 21, 2020
1 parent 0d462b4 commit 7a90c4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/client/app/composables/pageData.ts
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
5 changes: 0 additions & 5 deletions src/client/app/index.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 7a90c4f

Please sign in to comment.