feat: 优化一些demo

This commit is contained in:
wanchun 2023-03-31 14:14:35 +08:00
parent 902fbc9283
commit 679b5ce3be
8 changed files with 3357 additions and 7987 deletions

View File

@ -17,6 +17,7 @@ export function buildSwcOptions(targets, config, isJsx, isTs, minify = false) {
return memo;
}, {}),
mode: 'usage',
// eslint-disable-next-line import/no-extraneous-dependencies
coreJs: require('core-js/package.json').version,
},
jsc: {

View File

@ -0,0 +1,3 @@
@import '@/styles/theme.less';
@import '@/styles/common.less';
@import '@/styles/reset.less';

View File

@ -61,8 +61,7 @@
"core-js": "^3.29.1",
"cssnano": "^6.0.0",
"pinia": "^2.0.11",
"vue": "^3.2.47",
"vuex": "^4.0.0"
"vue": "^3.2.47"
},
"private": true
}

View File

@ -3,3 +3,7 @@ html {
font-size: 16px;
}
}
html, body {
margin: 0;
}

View File

@ -2,4 +2,4 @@ export default {
// define: {
// __DEV__: true
// },
}
};

View File

@ -63,8 +63,7 @@
"@fesjs/plugin-swc": "^3.0.0-rc.0",
"core-js": "3.27.0",
"pinia": "^2.0.33",
"vue": "^3.2.47",
"vuex": "^4.0.0"
"vue": "^3.2.47"
},
"private": true
}

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
packages:
# all packages in subdirs of packages/ and components/
- 'packages/**'
- '!packages/create-fes-app/templates/**'