ionic-team / stencil-component-starter

Minimal starter project for building shareable web components with Stencil
https://github.com/ionic-team/stencil
MIT License
278 stars 129 forks source link

How to set styleUrls in @Component #73

Closed guochun closed 1 year ago

guochun commented 5 years ago

I want to show difference theme that according to set difference mode. so I wirte code that

@Component({  
  tag: "aui-button",
  styleUrls: {
    pc: "button.pc.css",
    mobile: "button.mobile.css"
  },
  shadow: true
})

image

then execute npm run start . in www directory

image

finally in chrom browser I get error image

Thanks for help

rwaskiewicz commented 1 year ago

Thanks for the issue! This issue appears to be a support request. We use this issue tracker exclusively for bug reports and feature requests. Please use our forum for questions about the framework.

Thank you for using Ionic!