1234567891011121314151617181920212223 |
- import { defineConfig } from 'vite'
- import vue from '@vitejs/plugin-vue'
- import postCssPxToRem from 'postcss-pxtorem';
- // https://vitejs.dev/config/
- export default defineConfig({
- base: './',
- plugins: [vue()],
- server: {
- host: '0.0.0.0',
- port: '83'
- },
- css: {
- postcss: {
- plugins: [
- postCssPxToRem({
- rootValue: 37.5,
- propList: ['*']
- })
- ]
- }
- }
- })
|