Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
0a2e046b
Commit
0a2e046b
authored
3 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
refactoring: グローバルコンポーネントを認識するように
parent
36a632dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/client/src/components/index.ts
+53
-32
53 additions, 32 deletions
packages/client/src/components/index.ts
with
53 additions
and
32 deletions
packages/client/src/components/index.ts
+
53
−
32
View file @
0a2e046b
import
{
App
}
from
'
vue
'
;
import
m
fm
from
'
./global/misskey-flavored-markdown.vue
'
;
import
a
from
'
./global/a.vue
'
;
import
a
cct
from
'
./global/acct.vue
'
;
import
a
vatar
from
'
./global/avatar.vue
'
;
import
e
moji
from
'
./global/emoji.vue
'
;
import
u
serName
from
'
./global/user-name.vue
'
;
import
e
llipsis
from
'
./global/ellipsis.vue
'
;
import
t
ime
from
'
./global/time.vue
'
;
import
u
rl
from
'
./global/url.vue
'
;
import
i
18n
from
'
./global/i18n
'
;
import
l
oading
from
'
./global/loading.vue
'
;
import
e
rror
from
'
./global/error.vue
'
;
import
a
d
from
'
./global/ad.vue
'
;
import
h
eader
from
'
./global/header.vue
'
;
import
s
pacer
from
'
./global/spacer.vue
'
;
import
s
tickyContainer
from
'
./global/sticky-container.vue
'
;
import
M
fm
from
'
./global/misskey-flavored-markdown.vue
'
;
import
MkA
from
'
./global/a.vue
'
;
import
MkA
cct
from
'
./global/acct.vue
'
;
import
MkA
vatar
from
'
./global/avatar.vue
'
;
import
MkE
moji
from
'
./global/emoji.vue
'
;
import
MkU
serName
from
'
./global/user-name.vue
'
;
import
MkE
llipsis
from
'
./global/ellipsis.vue
'
;
import
MkT
ime
from
'
./global/time.vue
'
;
import
MkU
rl
from
'
./global/url.vue
'
;
import
I
18n
from
'
./global/i18n
'
;
import
MkL
oading
from
'
./global/loading.vue
'
;
import
MkE
rror
from
'
./global/error.vue
'
;
import
MkA
d
from
'
./global/ad.vue
'
;
import
MkH
eader
from
'
./global/header.vue
'
;
import
MkS
pacer
from
'
./global/spacer.vue
'
;
import
MkS
tickyContainer
from
'
./global/sticky-container.vue
'
;
export
default
function
(
app
:
App
)
{
app
.
component
(
'
I18n
'
,
i18n
);
app
.
component
(
'
Mfm
'
,
mfm
);
app
.
component
(
'
MkA
'
,
a
);
app
.
component
(
'
MkAcct
'
,
acct
);
app
.
component
(
'
MkAvatar
'
,
avatar
);
app
.
component
(
'
MkEmoji
'
,
emoji
);
app
.
component
(
'
MkUserName
'
,
userName
);
app
.
component
(
'
MkEllipsis
'
,
ellipsis
);
app
.
component
(
'
MkTime
'
,
time
);
app
.
component
(
'
MkUrl
'
,
url
);
app
.
component
(
'
MkLoading
'
,
loading
);
app
.
component
(
'
MkError
'
,
error
);
app
.
component
(
'
MkAd
'
,
ad
);
app
.
component
(
'
MkHeader
'
,
header
);
app
.
component
(
'
MkSpacer
'
,
spacer
);
app
.
component
(
'
MkStickyContainer
'
,
stickyContainer
);
app
.
component
(
'
I18n
'
,
I18n
);
app
.
component
(
'
Mfm
'
,
Mfm
);
app
.
component
(
'
MkA
'
,
MkA
);
app
.
component
(
'
MkAcct
'
,
MkAcct
);
app
.
component
(
'
MkAvatar
'
,
MkAvatar
);
app
.
component
(
'
MkEmoji
'
,
MkEmoji
);
app
.
component
(
'
MkUserName
'
,
MkUserName
);
app
.
component
(
'
MkEllipsis
'
,
MkEllipsis
);
app
.
component
(
'
MkTime
'
,
MkTime
);
app
.
component
(
'
MkUrl
'
,
MkUrl
);
app
.
component
(
'
MkLoading
'
,
MkLoading
);
app
.
component
(
'
MkError
'
,
MkError
);
app
.
component
(
'
MkAd
'
,
MkAd
);
app
.
component
(
'
MkHeader
'
,
MkHeader
);
app
.
component
(
'
MkSpacer
'
,
MkSpacer
);
app
.
component
(
'
MkStickyContainer
'
,
MkStickyContainer
);
}
declare
module
'
@vue/runtime-core
'
{
export
interface
GlobalComponents
{
I18n
:
typeof
I18n
;
Mfm
:
typeof
Mfm
;
MkA
:
typeof
MkA
;
MkAcct
:
typeof
MkAcct
;
MkAvatar
:
typeof
MkAvatar
;
MkEmoji
:
typeof
MkEmoji
;
MkUserName
:
typeof
MkUserName
;
MkEllipsis
:
typeof
MkEllipsis
;
MkTime
:
typeof
MkTime
;
MkUrl
:
typeof
MkUrl
;
MkLoading
:
typeof
MkLoading
;
MkError
:
typeof
MkError
;
MkAd
:
typeof
MkAd
;
MkHeader
:
typeof
MkHeader
;
MkSpacer
:
typeof
MkSpacer
;
MkStickyContainer
:
typeof
MkStickyContainer
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment