This is a simple blog application (with CRUD operation) that showcases the usage of the following technologies:
- Vue
- Vuex and Modules
- vue-router
- Typescript (Class based API)
- Axios
- Code splitting/ Lazy loading
- Mock server used https://jsonplaceholder.typicode.com/
- SASS/SCSS pre-processor is used for CSS styling.
- Element UI library is used to enhance the look and feel of the app.
- Basic responsive design
- CSS Resets
Vuex is used to store common data and accessed using helpers in components. It also follows a modular approach by creating specific modules to store and access data.
This application follows a class-based API approach. The vue-property-decorator
is used to decorate modules in component files. The vuex-module-decorators
is used to decorate Vuex modules, and the vuex-class
library is used to access Vuex properties such as state
, actions
, getters
etc. in components.
To install the project dependencies, run:
yarn install
To compile and hot-reload for development, run:
yarn serve
To compile and minify for production, run:
yarn build
To deploy the application, run:
yarn deploy
To run unit tests, run:
yarn test:unit
To lint and fix files, run:
yarn lint
For more information on customization, see Configuration Reference.