1 Star 1 Fork 0

MagicFollower / vue-improving

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
Loading...
README

IDE:WebStorm 2020.3

  • 配置 Vue 模板
  • 字符串与变量拼接(技巧

一:配置 Vue 模板

<template>
  <div>
    #[[$END$]]#
  </div>
</template>

<script>
export default {
name: "${COMPONENT_NAME}",
  props: [],
  emits: [],
  data () {
    return {

    };
  },
  watch: {

  },
  beforeCreate() {

  },
  created() {

  },
  beforeMount() {

  },
  mounted() {

  },
  methods: {
  
  }
};
</script>

<style scoped>

</style>

二:字符串与变量拼接

  • 使用 + 进行拼接是最基本的方式。
  • 也可以使用下述方法:
mounted() {
  this.$Message.info(`作者:${this.author}`);
},

空文件

简介

一份详细的vue入门级教程,欢迎star! (配合springboot-improving食用更佳!) 展开 收起
HTML 等 5 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hirehop/vue-improving.git
git@gitee.com:hirehop/vue-improving.git
hirehop
vue-improving
vue-improving
master

搜索帮助