quasar

Форк
0
23 строки · 694.0 Байт
1
import { version } from '../package.json'
2

3
<% if (features.component) { %>import Component from './components/Component'<% } %>
4
<% if (features.directive) { %>import Directive from './directives/Directive'<% } %>
5

6
export {
7
  version,
8

9
  <% if (features.component) { %>Component<% if (features.directive) { %>,<% } } %>
10
  <% if (features.directive) { %>Directive<% } %>
11
}
12

13
export default {
14
  version,
15

16
  <% if (features.component) { %>Component,<% } %>
17
  <% if (features.directive) { %>Directive,<% } %>
18

19
  install (Vue) {
20
    <% if (features.component) { %>Vue.component(Component.name, Component)<% } %>
21
    <% if (features.directive) { %>Vue.directive(Directive.name, Directive)<% } %>
22
  }
23
}
24

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.