Vue3.0: developing high quality music web app

itspcoolgg 2021-04-08 12:22:04
vue3.0 vue developing high quality

Download: Vue3.0 High level actual combat : Develop high quality music Web app

Deep Mastery 2021 Front end optimal technology stack

From project requirements analysis to component development , Experience the whole project development process , master Web App Development skills and solutions

Improve project quality and maintainability

Can develop component library independently , Apply the idea of modularization directly to practical work , The work efficiency has been greatly improved

master Vue3 High level skills and JS、CSS Animation development

Cool animation 、 Smooth interaction , Highly restore the original product experience ,Vue3 Comprehensive grasp of advanced knowledge points

Make a real online music Web App

Gain advanced project independent development ability , Advanced talents have become scarce talents recruited by large factories with high salaries

Global installation Vite

// Global installation vite-app npm i -g vite-app

// Create project npm init vite-app <project-name>

cd project-name

yarn || npm install Js Copy install Necessary third party plug-ins install TypeScript

npm install -D typescript Js Copy root directory (src) Add below shim.vue.d.ts file

declare module '*.vue' { import { Component } from 'vue' const component: Component export default component }

// perhaps declare module '*.vue' { import Vue from 'vue' // const component: defineComponent<{},{},any> export default Vue } Js Copy modify main.js by main.ts

And modify it index.html Citation of articles

install vue-router

vue3.0 It's best to install the latest version of vue-router, If the version is wrong, the route cannot be used to jump

npm install vue-router@4 Js Copy And then in src New under the directory router Catalog , New in directory index.ts file

from vue-router introduce createRouter and createWebHashHistory( perhaps createWebHistory)

import {createRouter, createWebHashHistory} from 'vue-router' Js Copy Then build One route object , Store routing configuration , Use createRouter Method establish router object , Finally through export default export

const routes = [ { path: '/', component: () => import('../views/home/index.vue'), redirect: '/index', children: [ { path: '/login', component: () => import('../views/login/index.vue') }, ] }, ]

var router = createRouter({ history: createWebHashHistory(), routes })

export default router Js Copy stay mian.ts In the object adopt import introduce , And use Vue Of use Method Sign up to Vue For instance

import router from './router' createApp(App).use(router).mount('#app') Js Copy Use Vue State management tools Vuex

// install npm install vuex@next

// Use // /src/store/index.ts import Vuex from 'vuex' const store = new Vuex.Store({ // ... modules: {}, state: () => { return { name: 'lxx' } }, mutations: {}, actions: {}, getters: {} })

export default store

// register import store from './store' createApp(App).use(router).use(store).mount('#app') Js Copy Use sass grammar

// install sass yarn add sass

// After installation take sass from dependencies Move to devDependencies // When using stay style After add lang="scss" Js Copy Vue.js


  1. HTML5和CSS3提高
  2. Improvement of HTML5 and CSS3
  3. NMN concept stock up and down limit, Harvard & 34; ageless drug & 34; only market speculation?
  4. 「HTML+CSS」--自定义加载动画【011】
  5. 「HTML+CSS」--自定义加载动画【010】
  6. 「HTML+CSS」--自定义加载动画【009】
  7. 「HTML+CSS」--自定义加载动画【008】
  8. "HTML + CSS" -- custom loading animation [011]
  9. "Custom" animation [CSS + 010]
  10. "HTML + CSS" -- custom loading animation [009]
  11. "HTML + CSS" -- custom loading animation [008]
  12. HttpServletRequest、通过request获得请求头、请求体等、解决中文乱码等问题
  13. HttpServletRequest, obtaining request header and request body through request, solving Chinese garbled code and other problems
  14. html2canvas 识别 svg 解决方案
  15. Solution of identifying SVG with html2canvas
  16. Web前端架构师
  17. Web front end architect
  18. 3000 yuan of financial software is less than 28 yuan of system, and the automatic accounting system is comparable to artifact
  19. Blessing of the sea
  20. IT兄弟连 HTML5教程 CSS3揭秘 小结及习题
  21. Summary and exercises of CSS3 in HTML5 course of it Brothers Company
  22. It's disassembled before it's on the market. The workmanship of Xiaomi 10 is unexpected, reducing maintenance costs?
  23. Vue自学之路5-vue模版语法(v-text,v-html,v-pre)
  24. Vue self learning 5-vue template syntax (v-text, v-html, v-pre)
  25. 【HTML】处理&lt;br&gt;换行符追加到前端换行无效的问题 --- html中渲染的字符串中包含HTML标签无效的处理方法,字符串中包含HTML标签被转义的问题 解决
  26. [HTML] processing & lt; BR & gt; the problem of invalid line feed when the line feed character is added to the front end --- the processing method of invalid HTML tag contained in the rendered string in HTML, and the problem of escape of HTML tag containe
  27. Vue自学之路5-vue模版语法(v-text,v-html,v-pre)
  28. Vue self learning 5-vue template syntax (v-text, v-html, v-pre)
  29. 7个Web前端程序员必须会用CSS技巧
  30. 10个优秀开源JavaScript模板引擎
  31. JavaScript基础知识及写法
  32. FB大规模重构React Native,Airbnb宣布回归原生,前端巨变来临?
  33. Seven web front-end programmers must be able to use CSS skills
  34. 10 excellent open source JavaScript template engines
  35. Basic knowledge and writing method of JavaScript
  36. FB large scale reconstruction react native, airbnb announced return to the original, the front-end changes coming?
  37. 网页HTML5视频播放器(兼容各主流浏览器)
  38. Web HTML5 video player (compatible with mainstream browsers)
  39. 前端开发需要掌握哪些技术?前端开发都学什么?
  40. 一本关于HTTP的恋爱日记
  41. 「HTML+CSS」--自定义加载动画【010】
  42. 前端er必须知道的Git地址及常用工具地址
  43. What technologies should be mastered in front end development? What do you learn from front end development?
  44. [DataGuard] seamless handover of physical DG configuration client (8.4) -- ora-16652 and ora-16603 error
  45. Wireless charging
  46. [DataGuard] seamless handover of physical DG configuration client (8.3) -- client TAF configuration
  47. [DataGuard] seamless handover of physical DG configuration client (8.1) -- configuration of data guard broker
  48. web前端数组处理之扁平化数组
  49. 一本关于HTTP的恋爱日记
  50. 「HTML+CSS」--自定义加载动画【010】
  51. Wireless power transmission using LCC compensation scheme
  52. vue项目中使用了vw适配方案,引入第三方ui框架mint-ui时,适配问题解决
  53. A love diary about http
  54. "Custom" animation [CSS + 010]
  55. Git address and common tool address that front end user must know
  56. 【BBED】 sys.bootstrap$ 对象的恢复
  57. Flat array of web front end array processing
  58. vue中deep的用法
  59. A love diary about http
  60. "Custom" animation [CSS + 010]