更新vite.config.ts以集成compressPlugin和vueDevTools插件,同时调整MeEditorEmoticon.vue中的表情图标尺寸,优化样式。
This commit is contained in:
parent
51a406e5e5
commit
067312cd5c
@ -185,11 +185,10 @@ const onSendEmoticon = (type: any, value: any, img = '') => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.option {
|
.option img{
|
||||||
height: 32px;
|
height: 12px;
|
||||||
width: 32px;
|
width: 12px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
font-size: 24px;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
transition: all 0.5s;
|
transition: all 0.5s;
|
||||||
|
|
||||||
|
@ -25,10 +25,11 @@ export default defineConfig(({ mode }) => {
|
|||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vueJsx({}),
|
vueJsx({}),
|
||||||
// vueDevTools({
|
compressPlugin(),
|
||||||
// launchEditor:'cursor'
|
UnoCSS(),
|
||||||
// }),
|
vueDevTools({
|
||||||
UnoCSS()
|
launchEditor: 'cursor',
|
||||||
|
})
|
||||||
],
|
],
|
||||||
define: {
|
define: {
|
||||||
__APP_ENV__: env.APP_ENV
|
__APP_ENV__: env.APP_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user