Giter VIP home page Giter VIP logo

vue-heap's Introduction

Vue 3 Workshop

Agenda

  1. What is Vue
  2. Why do we use a framework
  3. Process from code to website
  4. Creating a Markdown Blog Editor

What is Vue

https://vuejs.org/guide/introduction.html#what-is-vue

Why do we use a frontend framework

  • Reliable
  • Faster Development
  • Consistent?
  • How do I choose between frameworks?

Process from code to website

Coding Portion

  1. 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/

  1. Clean up Files
  • clear assets folder
  • clear components folder
  • delete routes
  • Clean up App.vue
  1. Create Views and update Router File
  • ArticleView
  • HomeView
  • NewArticleView
  • Update router/index.js
  1. New Article View
  • Creating Utils Functions
  • Using Component Library
  • Vue Ref
  1. Home View
  • Creating Small Components
  • Vue onMounted, defineEmits, defineProps
  1. Article View

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.