提交 c326a8b3 编写于 作者: W weixin_46115723

Tue Nov 5 15:30:00 CST 2024 inscode

上级 78e57384
{ {
"name": "vuejs-with-vite", "name": "vuejs-with-vite",
"version": "0.0.0", "version": "0.0.0",
"private": true,
"type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"preview": "vite preview" "preview": "vite preview --port 4173"
}, },
"dependencies": { "dependencies": {
"@element-plus/icons-vue": "^2.3.1", "element-plus": "^2.7.0",
"element-plus": "^2.8.7", "guess": "^1.0.2",
"pinia": "^2.2.4", "pinia": "^2.1.7",
"vue": "^3.5.12", "vue": "^3.2.37",
"vue-router": "^4.4.5" "vue-router": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue": "^3.0.1",
"less": "^4.2.0", "vite": "^5.0.1"
"vite": "^5.4.10"
} }
} }
// import { defineConfig } from 'vite'
// import vue from '@vitejs/plugin-vue'
// // https://vitejs.dev/config/
// export default defineConfig({
// server: {
// host: true
// },
// plugins: [vue()]
// })
import { fileURLToPath, URL } from 'node:url' import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
vue(), vue(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册