golfclub icon indicating copy to clipboard operation
golfclub copied to clipboard

angular.json refers to tb.light.green.css which can't be found

Open PerryCodes opened this issue 5 years ago • 6 comments

"styles": [ "node_modules/devextreme/dist/css/dx.common.css", "node_modules/devextreme/dist/css/tb.light.green.css" ]

That second css file is not found. Should it be?

PerryCodes avatar Dec 09 '20 10:12 PerryCodes

Hi This file is generated by devextreme-cli and should be made when this command is run (https://github.com/DevExpress/golfclub/blob/master/devextreme.json#L38).

babich-a avatar Dec 11 '20 07:12 babich-a

Hi Alexey - thanks for helping with this.

I don't see 'devextreme-cli' listed anywhere in the build/install instructions... Is that something I have to run manually? Is it part of the build process? Ran when 'npm install' is called? I don't see any errors when running "npm install". This is what I see when "ng build" is ran:

image

PerryCodes avatar Dec 11 '20 15:12 PerryCodes

Do I need to create another issue for this? I was surprised to see this 'Closed' before I had an opportunity to respond.

PerryCodes avatar Dec 11 '20 15:12 PerryCodes

image

node: 12.15.0 npm: 6.13.4

PerryCodes avatar Dec 11 '20 16:12 PerryCodes

Running 'npm run build-theme' manually creates the file. I don't think that file gets created when following the instructions listed on 'README.md' ... But I am brand spankin new to this whole new Angular, React, Vue world ;) So I could definitely be wrong!

PerryCodes avatar Dec 11 '20 16:12 PerryCodes

You are right! Only ssr commands includes this command now (e.g. https://github.com/DevExpress/golfclub/blob/master/package.json#L12). I'll include it in the npm start command and fix the README.

babich-a avatar Dec 11 '20 16:12 babich-a