diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..6aca4ef --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +dist +node_modules +yarn.lock +/apps/ +/dist/ diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index 6f7068e..f819c37 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,29 @@ # data_visual_webpack ## Project setup + ``` yarn install ``` ### Compiles and hot-reloads for development + ``` yarn serve ``` ### Compiles and minifies for production + ``` yarn build ``` ### Lints and fixes files + ``` yarn lint ``` ### Customize configuration + See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/babel.config.js b/babel.config.js index e955840..162a3ea 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,3 @@ module.exports = { - presets: [ - '@vue/cli-plugin-babel/preset' - ] -} + presets: ["@vue/cli-plugin-babel/preset"], +}; diff --git a/package.json b/package.json index 9b8ce17..95b9a7b 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "element-plus": "^2.2.19", "flv.js": "^1.6.2", "lodash-es": "^4.17.21", + "pinia": "^2.0.33", "vue": "^3.2.13", "vue-router": "^4.1.5" }, diff --git a/postcss.config.js b/postcss.config.js index 33ad091..12a703d 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ module.exports = { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/public/index.html b/public/index.html index 01c730e..f63bc44 100644 --- a/public/index.html +++ b/public/index.html @@ -1,34 +1,35 @@ + + + + + - - - - - + + + + <%= htmlWebpackPlugin.options.title %> + - - - - - <%= htmlWebpackPlugin.options.title %> - - - - - -
- - - - \ No newline at end of file + + +
+ + + diff --git a/src/App.vue b/src/App.vue index 294b93f..bef33c6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,8 @@ - + diff --git a/src/views/Monitor/index.vue b/src/views/Monitor/index.vue index efff5f2..afc0403 100644 --- a/src/views/Monitor/index.vue +++ b/src/views/Monitor/index.vue @@ -2,10 +2,10 @@
@@ -18,13 +18,12 @@
  • {{ item.PRONAME }}
  • @@ -40,25 +40,25 @@
    + v-for="(item, index) in projectList.slice(0, 9)" + :key="index" + :class="`monitor-item flex items-center flex-col`" + > + +
    +
    + + + +
    +
    {{ item.name }}
    +
    +
    -->
    @@ -89,12 +89,12 @@ class="controls flex flex-col justify-end pb-8" >
    -