mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
fix: not default require reset.css
This commit is contained in:
@@ -52,7 +52,7 @@ Object.keys(components).forEach((componentName) => {
|
||||
const dir = path.join(__dirname, '../../lib/', componentName, '/style');
|
||||
const file = path.join(dir, 'index.js');
|
||||
const cssPath = path.join(__dirname, '../../lib/vant-css/', `${componentName}.css`);
|
||||
const content = [`require('../../vant-css/base.css');`];
|
||||
const content = [];
|
||||
if (fs.existsSync(cssPath)) {
|
||||
content.push(`require('../../vant-css/${componentName}.css');`);
|
||||
}
|
||||
|
@@ -1,2 +1,3 @@
|
||||
import CellSwipe from './components/CellSwipe.vue'
|
||||
import CellSwipe from './src/cell-swipe';
|
||||
|
||||
export default CellSwipe;
|
||||
|
Reference in New Issue
Block a user