Commit a87efb77 authored by 吕 成东's avatar 吕 成东
Browse files

初始化项目

parent 800b45f3
Pipeline #3079 canceled with stages
<script setup>
import TheHeader from '../components/TheHeader.vue'
import TheFooter from '../components/TheFooter.vue'
</script>
<template>
<div class="news">
<TheHeader />
<div class="center-width" style="padding: 50px 0; min-height: 400px;">
<h1>新闻资讯</h1>
<p>此页面正在开发中...</p>
</div>
<TheFooter />
</div>
</template>
\ No newline at end of file
<script setup>
import TheHeader from '../components/TheHeader.vue'
import TheFooter from '../components/TheFooter.vue'
</script>
<template>
<div class="products">
<TheHeader />
<div class="center-width" style="padding: 50px 0; min-height: 400px;">
<h1>产品技术</h1>
<p>此页面正在开发中...</p>
</div>
<TheFooter />
</div>
</template>
<style>
h1 {
margin-bottom: 20px;
}
</style>
\ No newline at end of file
import { defineConfig } from "vite";
import { fileURLToPath, URL } from "node:url";
import vue from "@vitejs/plugin-vue";
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
// 配置@/
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment