本帖最后由 前端小菜鸟 于 2023-3-24 14:08 编辑
"@grapecity/spread-excelio": "^14.2.5",
"@grapecity/spread-sheets": "^14.2.5",
"@grapecity/spread-sheets-angular": "^14.2.5",
"@grapecity/spread-sheets-resources-zh": "^14.2.5",
"@grapecity/spread-sheets-charts": "^14.2.5",
"@grapecity/spread-sheets-shapes": "^14.2.5",
"@grapecity/spread-sheets-print": "^14.2.5",
"@grapecity/spread-sheets-barcode": "^14.2.5",
"@grapecity/spread-sheets-pdf": "^14.2.5",
"@grapecity/spread-sheets-designer-resources-cn": "^14.2.5",
"@grapecity/spread-sheets-designer": "^14.2.5",
目前是引入这些。
angular.json 里也配置了
"styles": [
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/themes/nova-light/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"src/styles.less",
"node_modules/@grapecity/spread-sheets/styles/gc.spread.sheets.excel2013white.css",
"node_modules/@grapecity/spread-sheets-designer/styles/gc.spread.sheets.designer.min.css",
"src/assets/primeflex/primeflex.css"
],
"scripts": [
"node_modules/ajv/dist/ajv.bundle.js",
"node_modules/mockjs/dist/mock-min.js",
"node_modules/@grapecity/spread-sheets/dist/gc.spread.sheets.all.min.js",
"node_modules/@grapecity/spread-sheets-charts/dist/gc.spread.sheets.charts.min.js",
"node_modules/@grapecity/spread-sheets-shapes/dist/gc.spread.sheets.shapes.min.js",
"node_modules/@grapecity/spread-sheets-print/dist/gc.spread.sheets.print.min.js",
"node_modules/@grapecity/spread-sheets-barcode/dist/gc.spread.sheets.barcode.min.js",
"node_modules/@grapecity/spread-sheets-pdf/dist/gc.spread.sheets.pdf.min.js",
"node_modules/@grapecity/spread-sheets-resources-zh/dist/gc.spread.sheets.resources.zh.min.js",
"node_modules/@grapecity/spread-excelio/dist/gc.spread.excelio.min.js",
"node_modules/@grapecity/spread-sheets-designer-resources-cn/dist/gc.spread.sheets.designer.resource.cn.min.js",
"node_modules/@grapecity/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js",
"node_modules/crypto-js/crypto-js.js",
"node_modules/echarts/dist/echarts.js"
]
但是还是和之前一样导入不进来那些样式
和我这种标签式的写法有关系么??
<gc-spread-sheets [hostStyle]="hostStyle" (workbookInitialized)="workbookInit($event)">
<gc-worksheet name="sheet">
</gc-worksheet>
</gc-spread-sheets>
|