pgbross / vue-material-adapter

Vue wrapper arround Material Components for the Web
ISC License
105 stars 20 forks source link

Create example using Vue CLI #161

Closed John-Goff closed 4 years ago

John-Goff commented 4 years ago

There was some differences between the basic-webpack example and the config needed for vue-cli. Mainly around the file vue.config.js which provides overrides for webpack config. Took me a while to get the config in the right place, so I thought I should document it and share in case anyone else runs into the same issue. The main thing that was confusing was getting the styles loaded in properly. I'm going to try and spend a bit more time figuring out how they work and see if I can submit a PR for the docs to help clear up what was confusing me.