Browse Source

master

master
邓宏 3 years ago
parent
commit
e70fe3f9dd
  1. 2
      package.json
  2. 8
      pnpm-lock.yaml
  3. 4
      src/main.js
  4. 8
      src/view/home.vue

2
package.json

@ -16,7 +16,7 @@
"devDependencies": {
"@vitejs/plugin-vue": "^2.3.0",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"black-knight": "1.2.2",
"black-knight": "1.2.5",
"less": "^4.1.2",
"less-loader": "7.x",
"sass-resources-loader": "^2.2.4",

8
pnpm-lock.yaml

@ -3,7 +3,7 @@ lockfileVersion: 5.3
specifiers:
'@vitejs/plugin-vue': ^2.3.0
'@vitejs/plugin-vue-jsx': ^1.3.10
black-knight: 1.2.2
black-knight: 1.2.5
element-plus: ^2.1.7
less: ^4.1.2
less-loader: 7.x
@ -24,7 +24,7 @@ dependencies:
devDependencies:
'@vitejs/plugin-vue': 2.3.1_vite@2.9.0+vue@3.2.31
'@vitejs/plugin-vue-jsx': 1.3.10
black-knight: 1.2.2
black-knight: 1.2.5
less: 4.1.2
less-loader: 7.3.0_less@4.1.2
sass-resources-loader: 2.2.4
@ -600,8 +600,8 @@ packages:
resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==}
dev: true
/black-knight/1.2.2:
resolution: {integrity: sha512-M6uD+umcXAeB916Fnr1IIu+j6HtKwv20h3h2pWgdqZsy2pFIa5LpoOZbnZy41MBHondKKtyLUo4FhFjI/tYdqA==}
/black-knight/1.2.5:
resolution: {integrity: sha512-uiTIc+WKAlEw3BT7FaMqNIZz2D+/6txm3IT5+IMqOYLLQxhV4rQls2rznQURB+Ih0GeqrhYwpjIZ6lUIXFgr4w==}
dev: true
/brace-expansion/1.1.11:

4
src/main.js

@ -3,11 +3,11 @@ import App from './App.vue'
import router from './router'
import store from '@/store'
import regComponents from '@/components'
import 'black-knight/lib/config/custom'
import {defineObj} from 'black-knight/lib/config/custom'
import ElementPlus from 'element-plus'
import "element-plus/dist/index.css"
console.log(import.meta.env,'--------------import------')
console.log(defineObj,'----defineObj---')
import "@/assets/style/index.less"
var app=createApp(App)

8
src/view/home.vue

@ -15,9 +15,13 @@
<div>{{foo}}</div>
</template>
</hello-world>
<dInput v-model="value"/>
</div>
</template>
<script setup>
import { onMounted, ref } from 'vue'
import HelloWorld from "@/components/HelloWorld.vue"
import { onMounted, ref } from 'vue'
import HelloWorld from "@/components/HelloWorld.vue"
import {dInput} from 'black-knight/lib/components'
var value = ref('')
</script>
Loading…
Cancel
Save