测试
This commit is contained in:
parent
3207e497c7
commit
b1093ce2fc
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
unpackage
|
unpackage
|
||||||
|
node_modules
|
||||||
5
package.json
Normal file
5
package.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"@dcloudio/uni-ui": "^1.5.11"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"easycom":{
|
||||||
|
"autoscan": true,
|
||||||
|
"custom": {
|
||||||
|
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
|
|||||||
@ -12,4 +12,8 @@ function change(){
|
|||||||
<template>
|
<template>
|
||||||
{{ a }}
|
{{ a }}
|
||||||
<button @click="change">测试</button>
|
<button @click="change">测试</button>
|
||||||
|
<uni-badge text="1"></uni-badge>
|
||||||
|
<uni-badge text="2" type="success" @click="bindClick"></uni-badge>
|
||||||
|
<uni-badge text="3" type="primary" :inverted="true"></uni-badge>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
22
pnpm-lock.yaml
generated
Normal file
22
pnpm-lock.yaml
generated
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
lockfileVersion: '9.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
importers:
|
||||||
|
|
||||||
|
.:
|
||||||
|
dependencies:
|
||||||
|
'@dcloudio/uni-ui':
|
||||||
|
specifier: ^1.5.11
|
||||||
|
version: 1.5.11
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
'@dcloudio/uni-ui@1.5.11':
|
||||||
|
resolution: {integrity: sha512-DBtk046ofmeFd82zRI7d89SoEwrAxYzUN3WVPm1DIBkpLPG5F5QDNkHMnZGu2wNrMEmGBjBpUh3vqEY1L3jaMw==}
|
||||||
|
|
||||||
|
snapshots:
|
||||||
|
|
||||||
|
'@dcloudio/uni-ui@1.5.11': {}
|
||||||
3
vue.config.js
Normal file
3
vue.config.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = {
|
||||||
|
transpileDependencies: ['@dcloudio/uni-ui']
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user