当前位置: 首页 > news >正文

哈尔滨seo优化团队百度seo指南

哈尔滨seo优化团队,百度seo指南,大同本地做网站的,seo公司哪里有选择菜单里的 文件 > 首选项 > 用户代码片段 vscode模板 {"Print to conaole":{"prefix": "v-ts", //在新建立的页面中输入C就会有智能提示&#xff0c;Tab就自动生成好了"body": ["<template>"," <…

选择菜单里的 文件 > 首选项 > 用户代码片段
vscode模板

{"Print to conaole":{"prefix": "v-ts",    //在新建立的页面中输入C++就会有智能提示,Tab就自动生成好了"body": ["<template>"," <div class='con'>",     //这个头文件可以删除,我为了使用方便就加了"   <header></header>","   <section></section>"," </div>", //空行"</template>", //标准命名空间"<script lang='ts' setup>","/** 接口 */",   //main()函数"export interface propsForm {","}","import { reactive, toRefs, defineProps, withDefaults, defineEmits, ref, computed } from 'vue';","import useCurrentInstance from '@/api/useCurrentInstance';","const { proxy } = useCurrentInstance()","const emit = defineEmits(['searchFunction'])","/** prop */","const props = withDefaults(defineProps<propsForm>(), {","})","/** 计算属性*/","const xx = computed(() => [])","/** data */",    //最终光标会在这里等待输入"const state = reactive({","})","const { searchForm } = toRefs(state)","/** 监听 */",    //标准C++的等待用户动作"/** 生命周期 */", //结束"/** methods */","/** 接口 */","</script>","<style>","</style>"],"description": "vue3 template."   //用户输入后智能提示的内容(你可以用中文写“生成C++模板”)}
}

结果

<template><div class='con'><header></header><section></section></div>
</template>
<script lang='ts' setup>
/** 接口 */
export interface propsForm {
}
import { reactive, toRefs, defineProps, withDefaults, defineEmits, ref, computed } from 'vue';
import useCurrentInstance from '@/api/useCurrentInstance';
const { proxy } = useCurrentInstance()
const emit = defineEmits(['searchFunction'])
/** prop */
const props = withDefaults(defineProps<propsForm>(), {
})
/** 计算属性*/
const xx = computed(() => [])
/** data */
const state = reactive({
})
const { searchForm } = toRefs(state)
/** 监听 */
/** 生命周期 */
/** methods */
/** 接口 */
</script>
<style>
</style>

useCurrentInstance.ts

import { ComponentInternalInstance, getCurrentInstance } from 'vue'
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export default function useCurrentInstance() {const { appContext } = getCurrentInstance() as ComponentInternalInstanceconst proxy = appContext.config.globalPropertiesreturn {proxy}
}
http://www.zhongyajixie.com/news/4270.html

相关文章:

  • vb net 做网站新网站如何推广
  • 南沙网站建设公司哪家好免费seo工具
  • 自己网站怎么做百度优化国内真正的免费建站
  • 做网站需要学习多久做搜索引擎推广多少钱
  • asp.net mvc5网站开发百度竞价排名怎么收费
  • 济宁做网站哪家比较好谷歌seo教程
  • 做电子商务的网站在线培训系统app
  • 做网站需要知道的问题网站推广多少钱一年
  • 漳州专业网站建设费用东莞网站推广优化网站
  • jsp ajax网站开发典型实例 pdf找片子有什么好的关键词推荐
  • 铁岭做网站公司信息代发百度帖子包收录排名
  • 网站做电商销售需要注册吗成都企业seo
  • 网站建设免费软件有哪些湖州seo排名
  • 堆广自己的业务怎么管理网站新闻发布平台
  • 门户网站系统建设清单免费引流推广方法
  • 小精灵网站在线做语文免费建网站
  • 论坛门户网站建设我想在百度上发布广告怎么发
  • 淘宝官方网站登录页面网站seo分析报告案例
  • 微信网站怎么做下载附件长春百度seo排名
  • 新乡网站建设加盟电话百度优化怎么做
  • 不知此网站做男人也seo代码优化工具
  • 做瞹瞹瞹视频网站seo外链招聘
  • 网站建设的相关问题百度网页推广怎么做
  • 深圳网站建设优化服务mac日本官网入口
  • 建外贸网站免费网站优化排名
  • Hugo wordpressseo专员是什么
  • 做相亲网站的安全责任网络推广的渠道有哪些
  • 河北网站备案 多长时间通过网络营销工具平台
  • 重庆网站推广付费windows优化大师收费吗
  • 在合肥做网站前端月薪大概多少seo常用的工具