mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:15:24 +00:00
feat(nc-gui): add web types for directives
This commit is contained in:
@@ -136,7 +136,6 @@ watch(passwordProtected, (value) => {
|
||||
>
|
||||
<div class="share-link-box nc-share-link-box bg-primary-50">
|
||||
<div class="flex-1 h-min text-xs">{{ sharedViewUrl }}</div>
|
||||
<!-- <v-spacer /> -->
|
||||
<a v-e="['c:view:share:open-url']" :href="sharedViewUrl" target="_blank">
|
||||
<MdiOpenInNewIcon class="text-sm text-gray-500 mt-2" />
|
||||
</a>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"web-types": "web-types.json",
|
||||
"scripts": {
|
||||
"build": "nuxi build",
|
||||
"dev": "nuxi dev",
|
||||
|
||||
20
packages/nc-gui/web-types.json
Normal file
20
packages/nc-gui/web-types.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/v2-preview/web-types.json",
|
||||
"name": "nc-gui",
|
||||
"framework": "vue",
|
||||
"version": "1.0.0",
|
||||
"contributions": {
|
||||
"html": {
|
||||
"vue-directives": [
|
||||
{
|
||||
"name": "e",
|
||||
"description": "Telemetry directive"
|
||||
},
|
||||
{
|
||||
"name": "t",
|
||||
"description": "I18n directive"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user