docs: move examples dir out of components dir
This commit is contained in:
@@ -41,5 +41,5 @@ files.forEach(({ path, pkgName }) => {
|
||||
|
||||
copyFile(filePath, `${changelogDirPath}/${isCore ? 'index' : pkgName}.md`, () => {})
|
||||
|
||||
console.log(`Copied ${filePath} to ${changelogDirPath}/${isCore ? 'index' : pkgName}.md`)
|
||||
console.log(`Copied ${pkgName}/CHANGELOG.md to docs/changelog/${isCore ? 'index' : pkgName}.md`)
|
||||
})
|
||||
|
||||
@@ -27,7 +27,7 @@ function copyFiles(emit: any) {
|
||||
source: readFileSync(filePath, 'utf-8'),
|
||||
})
|
||||
|
||||
console.log(`Copied ${fileName} to ${getPublicPath(fileName)}`)
|
||||
console.log(`Copied ${fileName} to /public/${fileName}`)
|
||||
})
|
||||
}
|
||||
export function copyVueFlowPlugin(): Plugin {
|
||||
|
||||
1
docs/src/auto-imports.d.ts
vendored
1
docs/src/auto-imports.d.ts
vendored
@@ -282,4 +282,5 @@ declare global {
|
||||
declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
||||
import('vue')
|
||||
}
|
||||
|
||||
19
docs/src/components.d.ts
vendored
19
docs/src/components.d.ts
vendored
@@ -9,37 +9,22 @@ declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Acknowledgement: typeof import('./../components/home/Acknowledgement.vue')['default']
|
||||
Additional: typeof import('./../components/home/flows/Additional.vue')['default']
|
||||
App: typeof import('./../components/examples/basic/App.vue')['default']
|
||||
Banner: typeof import('./../components/home/Banner.vue')['default']
|
||||
Basic: typeof import('./../components/home/flows/Basic.vue')['default']
|
||||
Controls: typeof import('./../components/examples/save-restore/Controls.vue')['default']
|
||||
Box: typeof import('./../components/home/flows/Hero/Box.vue')['default']
|
||||
Custom: typeof import('./../components/home/edges/Custom.vue')['default']
|
||||
CustomConnectionLine: typeof import('./../components/examples/connectionline/CustomConnectionLine.vue')['default']
|
||||
CustomEdge: typeof import('./../components/examples/edges/CustomEdge.vue')['default']
|
||||
CustomEdge2: typeof import('./../components/examples/edges/CustomEdge2.vue')['default']
|
||||
CustomEdgeLabel: typeof import('./../components/examples/edges/CustomEdgeLabel.vue')['default']
|
||||
CustomInput: typeof import('./../components/examples/validation/CustomInput.vue')['default']
|
||||
CustomNode: typeof import('./../components/examples/custom-node/CustomNode.vue')['default']
|
||||
DocsRepl: typeof import('./../components/DocsRepl.vue')['default']
|
||||
Features: typeof import('./../components/home/Features.vue')['default']
|
||||
Flow: typeof import('./../components/examples/multi/Flow.vue')['default']
|
||||
Hero: typeof import('./../components/home/flows/Hero/Hero.vue')['default']
|
||||
Home: typeof import('./../components/home/Home.vue')['default']
|
||||
Input: typeof import('./../components/home/nodes/Input.vue')['default']
|
||||
InteractionControls: typeof import('./../components/examples/interaction/InteractionControls.vue')['default']
|
||||
Intro: typeof import('./../components/home/flows/Intro.vue')['default']
|
||||
Nested: typeof import('./../components/home/flows/Nested.vue')['default']
|
||||
Output: typeof import('./../components/home/nodes/Output.vue')['default']
|
||||
PiniaExample: typeof import('./../components/examples/pinia/PiniaExample.vue')['default']
|
||||
Repl: typeof import('./../components/Repl.vue')['default']
|
||||
ResizableNode: typeof import('./../components/examples/node-resizer/ResizableNode.vue')['default']
|
||||
RGB: typeof import('./../components/home/flows/RGB.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
Showcase: typeof import('./../components/home/Showcase.vue')['default']
|
||||
Sidebar: typeof import('./../components/examples/dnd/Sidebar.vue')['default']
|
||||
SnappableConnectionLine: typeof import('./../components/examples/connection-radius/SnappableConnectionLine.vue')['default']
|
||||
TeleportableNode: typeof import('./../components/examples/teleport/TeleportableNode.vue')['default']
|
||||
ToolbarNode: typeof import('./../components/examples/node-toolbar/ToolbarNode.vue')['default']
|
||||
TransitionEdge: typeof import('./../components/examples/transition/TransitionEdge.vue')['default']
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user