- What is Vue
- Why do we use a framework
- Process from code to website
- Creating a Markdown Blog Editor
https://vuejs.org/guide/introduction.html#what-is-vue
- Reliable
- Faster Development
- Consistent?
- How do I choose between frameworks?
- Node Project
- package.json
- node_modules
- Build Step
- Single Page Application
- Vue Project Structure
- Creating a Vue Project with NPM https://vuejs.org/guide/quick-start.html#with-build-tools
npm init vue@latest .
√ Package name: ... vue-heap
√ Add TypeScript? ... No
√ Add JSX Support? ... No
√ Add Vue Router for Single Page Application development? ... Yes
√ Add Pinia for state management? ... No
√ Add Vitest for Unit Testing? ... No
√ Add Cypress for both Unit and End-to-End testing? ... Yes
√ Add ESLint for code quality? ... No
npm install
npm run dev
# install external libraries
npm i vue-showdown
npm i -D naive-ui
npm i -D @vicons/ionicons5
npm i vue3-ace-editor
https://vue-showdown.js.org/guide/
- Clean up Files
- clear assets folder
- clear components folder
- delete routes
- Clean up App.vue
- Create Views and update Router File
- ArticleView
- HomeView
- NewArticleView
- Update router/index.js
- New Article View
- Creating Utils Functions
- Using Component Library
- Vue Ref
- Home View
- Creating Small Components
- Vue onMounted, defineEmits, defineProps
- Article View