🗂 Vue CLI's Hello world boilerplate refactored to a modular approach (incl. vuex and router)
The bootstrap file, where the modules are invoked
Responsible for creating the router and registering the routes of each module
Responsible for creating the Vuex store and registring the stores of each module
Creates the Vue application and mounts it
An example module, as provided in the Vue CLI 4 example
An example module, as provided in the Vue CLI 4 example
The only module that doesn't require registrating in main.js
. Is used to share styling, util functions, components, etc. across modules
To see what a potential structure of a simplistic reddit clone might be refer to STRUCTURE.md
npm i
npm run serve