vue3 webstorm 快捷新建组建模板
<template> <h1>${COMPONENT_NAME}</h1> </template> <script lang="ts" setup> import {reactive} from 'vue'; import {useRouter} from "vue-router"; import {useStore} from "vuex"; import { log } from '@/utils/log' const {dispatch: $dispatch, commit: $commit, getters: $getters, state: $state} = useStore(); const router = useRouter(); const state = reactive({ }); </script> <style lang="scss" scoped> </style>