chore(docs): place components.d.ts in .vitepress dir
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"author": "Burak Cakmakoglu<brainbraks@googlemail.com>",
|
||||
"scripts": {
|
||||
"dev": "vuepress dev src",
|
||||
"prebuild": "yarn data",
|
||||
"build": "vuepress build src",
|
||||
"serve": "vuepress serve",
|
||||
"data": "node data.js"
|
||||
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
// generated by unplugin-vue-components
|
||||
// We suggest you to commit this file into source control
|
||||
// Read more: https://github.com/vuejs/vue-next/pull/3399
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Additional: typeof import('./../../components/home/Additional.vue')['default']
|
||||
Banner: typeof import('./../../components/home/Banner.vue')['default']
|
||||
Basic: typeof import('./../../components/home/Basic.vue')['default']
|
||||
Box: typeof import('./../../components/home/nodes/Box.vue')['default']
|
||||
Custom: typeof import('./../../components/home/edges/Custom.vue')['default']
|
||||
Features: typeof import('./../../components/home/Features.vue')['default']
|
||||
Home: typeof import('./../../components/home/Home.vue')['default']
|
||||
Input: typeof import('./../../components/home/nodes/Input.vue')['default']
|
||||
Nested: typeof import('./../../components/home/Nested.vue')['default']
|
||||
Output: typeof import('./../../components/home/nodes/Output.vue')['default']
|
||||
RGB: typeof import('./../../components/home/RGB.vue')['default']
|
||||
}
|
||||
}
|
||||
|
||||
export { }
|
||||
@@ -35,6 +35,7 @@ export default defineUserConfig<DefaultThemeOptions>({
|
||||
extensions: ['vue', 'md'],
|
||||
// allow auto import and register components used in markdown
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||
dts: resolve(__dirname, './components.d.ts'),
|
||||
}),
|
||||
Icons(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user