carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

index.html: Wrong bundle/css paths #394

Closed oreqizer closed 7 years ago

oreqizer commented 7 years ago
screen shot 2016-11-04 at 13 56 21

My config:

new CarteBlanche({
    componentRoot: path.join(__dirname, "common/libComponents"),
})
wmertens commented 7 years ago

@oreqizer componentRoot is where CB finds the components, not where it serves them from.

wmertens commented 7 years ago

You want

dest (default: 'carte-blanche'): Change the location of your Carte Blanche. Needs to be a path.

  plugins: [
    new CarteBlanche({
      componentRoot: 'src/components',
      dest: 'components'
    })
  ]