Selaa lähdekoodia

feat(admin): 添加 hello.vue 管理页面

- 创建基础 Vue 组件结构
- 添加模板部分显示 "Hello Vue" 标题- 配置 TypeScript 支持
- 添加 scoped SCSS 样式支持
- 注册组件名称为 "hello"
runphp 5 kuukautta sitten
vanhempi
sitoutus
e4008b8f9f
2 muutettua tiedostoa jossa 17 lisäystä ja 8 poistoa
  1. 0 8
      .idea/.gitignore
  2. 17 0
      resource/admin/hello.vue

+ 0 - 8
.idea/.gitignore

@@ -1,8 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Editor-based HTTP Client requests
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml

+ 17 - 0
resource/admin/hello.vue

@@ -0,0 +1,17 @@
+<script lang="ts">
+import {defineComponent} from 'vue'
+
+export default defineComponent({
+  name: "hello"
+})
+</script>
+
+<template>
+  <div>
+    <h1>Hello Vue</h1>
+  </div>
+</template>
+
+<style scoped lang="scss">
+
+</style>