mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
build(web): 添加 ESLint 和 Prettier 配置文件
- 新增 .eslintrc.js 文件,配置 ESLint 规则和插件 - 新增 .prettierrc.json 文件,设置 Prettier 格式化选项
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<img alt="Vue logo" src="../assets/logo.png" />
|
||||
<HelloWorld msg="Welcome to Your Vue.js App" />
|
||||
<div class="main">
|
||||
<div class="header"></div>
|
||||
<div class="menu"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// @ is an alias to /src
|
||||
|
||||
export default {
|
||||
name: "HomeView",
|
||||
name: "MainView",
|
||||
components: {},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user