1 Star 1 Fork 0

X26433832795 / vue-improving

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Loading...
README.MD

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}`);
},

About

一份详细的vue入门级教程,欢迎star! (配合springboot-improving食用更佳!) spread retract
HTML and 5 more languages
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/hirehop/vue-improving.git
git@gitee.com:hirehop/vue-improving.git
hirehop
vue-improving
vue-improving
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385