EvanAgee / vuejs-wordpress-theme-starter

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

Where does /src/api/index.js get included from? #100

Closed simplenotezy closed 4 years ago

simplenotezy commented 4 years ago

I can't seem to find where api/index.js is getting imported/included. Is it still being used? It is inside the /dist/ folder, but don't know how.

EvanAgee commented 4 years ago

@simplenotezy it's being loaded directly into the Vuex modules that need it, see https://github.com/EvanAgee/vuejs-wordpress-theme-starter/blob/master/src/store/modules/user.js for example.

simplenotezy commented 4 years ago

You're right; thanks @EvanAgee