Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong block name #1

Open
kalinichenko88 opened this issue Jul 8, 2020 · 0 comments
Open

Wrong block name #1

kalinichenko88 opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kalinichenko88
Copy link
Member

file: blocks/QuoteBlock

<template>
  <section class="scene">
    <div class="grid">
      <div class="grid__wrap">
        <div
          class="grid__list  grid__list--navahopi"
          style="justify-content: center;">
          <div class="grid__item">
            <quote
              :quote="quote"
              :person="person" />
          </div>
        </div>
      </div>
    </div>
  </section>
</template>

<script>
   import Quote from '~/components/QuoteBlock'

  export default {
    name: 'QuoteBlock',
    components: {
      Quote,
    },
    data() {
      return {
        quote: {
          content: 'We guarantee that every community plugin respects Fastify best practices (tests, etc) at the time they have been added to the list. We offer no guarantee on their maintenance.',
        },
        person: {
          name: 'Артем Фомичев',
          note: 'Тревел-блоггер, фотограф',
        },
      }
    },
  }
</script>

blocks plugin file: .nuxt/admin/blocks/blocks-plugin.js

import Vue from 'vue'

import Артем Фомичев from '~/components/blocks/QuoteBlock'

Vue.component('Артем Фомичев', Артем Фомичев)
@kalinichenko88 kalinichenko88 added the bug Something isn't working label Jul 8, 2020
@kalinichenko88 kalinichenko88 self-assigned this Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant