配置ing

This commit is contained in:
asd
2021-09-02 20:06:56 +08:00
parent 32086f867b
commit 1c8d138f7e
5 changed files with 2765 additions and 20 deletions

View File

@@ -1,21 +1,17 @@
<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>
<img alt="Vue logo" src="./assets/logo.png" />
<HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
<div class="top">
</div>
</template>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
<style lang="scss" scoped>
.top{
width:100vw;
height:100vh;
background:red;
}
</style>

View File

@@ -1,4 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
import naive from 'naive-ui'
createApp(App).mount('#app')
createApp(App).use(naive).mount('#app')