mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-29 18:28:09 +08:00
feat: 优化一些demo
This commit is contained in:
parent
902fbc9283
commit
679b5ce3be
@ -17,6 +17,7 @@ export function buildSwcOptions(targets, config, isJsx, isTs, minify = false) {
|
|||||||
return memo;
|
return memo;
|
||||||
}, {}),
|
}, {}),
|
||||||
mode: 'usage',
|
mode: 'usage',
|
||||||
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||||
coreJs: require('core-js/package.json').version,
|
coreJs: require('core-js/package.json').version,
|
||||||
},
|
},
|
||||||
jsc: {
|
jsc: {
|
||||||
|
3
packages/fes-template-h5/src/global.less
Normal file
3
packages/fes-template-h5/src/global.less
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@import '@/styles/theme.less';
|
||||||
|
@import '@/styles/common.less';
|
||||||
|
@import '@/styles/reset.less';
|
@ -61,8 +61,7 @@
|
|||||||
"core-js": "^3.29.1",
|
"core-js": "^3.29.1",
|
||||||
"cssnano": "^6.0.0",
|
"cssnano": "^6.0.0",
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"vue": "^3.2.47",
|
"vue": "^3.2.47"
|
||||||
"vuex": "^4.0.0"
|
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
@ -3,3 +3,7 @@ html {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
@ -2,4 +2,4 @@ export default {
|
|||||||
// define: {
|
// define: {
|
||||||
// __DEV__: true
|
// __DEV__: true
|
||||||
// },
|
// },
|
||||||
}
|
};
|
||||||
|
@ -63,8 +63,7 @@
|
|||||||
"@fesjs/plugin-swc": "^3.0.0-rc.0",
|
"@fesjs/plugin-swc": "^3.0.0-rc.0",
|
||||||
"core-js": "3.27.0",
|
"core-js": "3.27.0",
|
||||||
"pinia": "^2.0.33",
|
"pinia": "^2.0.33",
|
||||||
"vue": "^3.2.47",
|
"vue": "^3.2.47"
|
||||||
"vuex": "^4.0.0"
|
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
11327
pnpm-lock.yaml
11327
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
# all packages in subdirs of packages/ and components/
|
# all packages in subdirs of packages/ and components/
|
||||||
- 'packages/**'
|
- 'packages/**'
|
||||||
|
- '!packages/create-fes-app/templates/**'
|
||||||
|
Loading…
Reference in New Issue
Block a user