mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
chore: move docs demo app to root folder
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { createApp } from 'vue'
|
||||
|
||||
import { vMaska } from '..'
|
||||
import Demo from './Demo.vue'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(Demo)
|
||||
createApp(App)
|
||||
.directive('maska', vMaska)
|
||||
.mount('#demo-app')
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
+1
-1
@@ -7,7 +7,7 @@ export default defineConfig({
|
||||
outDir: 'docs/dist',
|
||||
rollupOptions: {
|
||||
input: {
|
||||
demo: 'src/demo/demo.ts'
|
||||
demo: 'demo/index.ts'
|
||||
},
|
||||
output: {
|
||||
entryFileNames: '[name].js',
|
||||
|
||||
Reference in New Issue
Block a user