【文件属性】:
文件名称:Taro3-Vue3-Demo:taro3使用vue3进行开发
文件大小:181KB
文件格式:ZIP
更新时间:2021-03-29 11:26:22
TypeScript
Taro3-Vue3-Demo
// option Api
data ( ) {
return {
res : [ ] ,
msg : "" ,
} ;
} ,
created ( ) {
this . getRes ( ) ;
} ,
methods : {
getRes : async function ( ) {
this . res = await test ( ) ;
} ,
} ,
setup ( ) {
const res = ref ( [ ] ) ;
const msg = ref ( "" ) ;
const getRes = async ( ) => {
const result = await test ( ) ;
【文件预览】:
Taro3-Vue3-Demo-master
----.gitignore(64B)
----.eslintrc(31B)
----package.json(2KB)
----.npmrc(570B)
----src()
--------api()
--------app.scss(0B)
--------vuex()
--------app.config.ts(541B)
--------utils()
--------index.html(1011B)
--------app.ts(303B)
--------pages()
----project.config.json(288B)
----tsconfig.json(677B)
----README.md(455B)
----config()
--------index.js(1KB)
--------dev.js(112B)
--------prod.js(423B)
----global.d.ts(394B)
----babel.config.js(230B)
----.editorconfig(197B)
----yarn.lock(601KB)