style: fix various lint issues

This commit is contained in:
Daniel Roe 2020-07-30 00:48:20 +01:00
parent 426cf1b3de
commit fc0d1872e9
10 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
import { createSSRApp } from 'vue' import { createSSRApp } from 'vue'
import plugins from './plugins.client'
import { init } from 'nuxt-app' import { init } from 'nuxt-app'
import plugins from './plugins.client'
import App from '<%= appPath %>' import App from '<%= appPath %>'
async function initApp () { async function initApp () {

View File

@ -1,5 +1,5 @@
import sharedPlugins from './plugins'
import preload from 'nuxt-app/plugins/preload' import preload from 'nuxt-app/plugins/preload'
import sharedPlugins from './plugins'
export default [ export default [
...sharedPlugins, ...sharedPlugins,

View File

@ -2,7 +2,7 @@ import type { Plugin } from 'nuxt/vue-app/types'
const preload: Plugin = function ({ app }) { const preload: Plugin = function ({ app }) {
app.mixin({ app.mixin({
beforeCreate() { beforeCreate () {
const { _registeredComponents } = this.$nuxt.ssrContext const { _registeredComponents } = this.$nuxt.ssrContext
const { __moduleIdentifier } = this.$options const { __moduleIdentifier } = this.$options
_registeredComponents.push(__moduleIdentifier) _registeredComponents.push(__moduleIdentifier)