更新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;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.option {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
.option img{
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
margin: 2px;
|
||||
font-size: 24px;
|
||||
user-select: none;
|
||||
transition: all 0.5s;
|
||||
|
||||
|
@ -25,10 +25,11 @@ export default defineConfig(({ mode }) => {
|
||||
plugins: [
|
||||
vue(),
|
||||
vueJsx({}),
|
||||
// vueDevTools({
|
||||
// launchEditor:'cursor'
|
||||
// }),
|
||||
UnoCSS()
|
||||
compressPlugin(),
|
||||
UnoCSS(),
|
||||
vueDevTools({
|
||||
launchEditor: 'cursor',
|
||||
})
|
||||
],
|
||||
define: {
|
||||
__APP_ENV__: env.APP_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user