diff --git a/packages/nutui-taro-demo/config/index.js b/packages/nutui-taro-demo/config/index.js index 0a78c8d50..b3968fc8e 100644 --- a/packages/nutui-taro-demo/config/index.js +++ b/packages/nutui-taro-demo/config/index.js @@ -102,7 +102,6 @@ const config = { '@/sites': path.resolve(__dirname, '../../../src/sites'), '@/locales': path.resolve(__dirname, '../../../src/locales'), '@/utils': path.resolve(__dirname, '../../../src/utils'), - '@/styles': path.resolve(__dirname, '../../../src/styles'), '@nutui/nutui-react-taro': path.resolve( __dirname, '../../../src/packages/nutui.react.taro.ts' diff --git a/src/packages/rate/rate.scss b/src/packages/rate/rate.scss index 369d4b615..b5bb1b4ef 100644 --- a/src/packages/rate/rate.scss +++ b/src/packages/rate/rate.scss @@ -1,4 +1,3 @@ -@import '@/styles/mixins/font.scss'; .nut-rate { display: flex; touch-action: pan-x; diff --git a/src/styles/mixins/index.scss b/src/styles/mixins/index.scss index f643ead6e..809c7a14a 100644 --- a/src/styles/mixins/index.scss +++ b/src/styles/mixins/index.scss @@ -1,2 +1,3 @@ @import 'make-animation.scss'; @import 'text-ellipsis.scss'; +@import 'font.scss';