EvanAgee / vuejs-wordpress-theme-starter

A WordPress theme with the guts ripped out and replaced with Vue.
https://vuewp.com/
1.6k stars 281 forks source link

How do you remove Bootstrap? #41

Closed waseber closed 5 years ago

waseber commented 5 years ago

Great theme! Just wondering how to extract Bootstrap from the them as I would like to handle the styling myself. Thanks!

EvanAgee commented 5 years ago

Hey @waseber, thanks for asking I imagine this will be useful information for lots of others! Here's what you would do:

  1. Remove bootstrap and bootstrap-vue from the package.json file
  2. Open src/app.js and remove the import for BootstrapVue and the two bootstrap imports below it as well as Vue.use(BootstrapVue)
  3. You'll need to touch all of the component files to remove all of the bootstrap-vue components, these include src/components/Home.vue, src/components/partials/Header.vue but I probably missed a few. It will likely be easiest to do steps 1 and 2 and address any build errors you encounter to find any components that need updated.
waseber commented 5 years ago

Thanks, Evan!