diff --git "a/\346\236\227\344\274\237\345\274\272/2021_06_09_Vue(\345\256\211\350\243\205\357\274\211/Vue\345\256\211\350\243\205.md" "b/\346\236\227\344\274\237\345\274\272/2021_06_09_Vue(\345\256\211\350\243\205\357\274\211/Vue\345\256\211\350\243\205.md" new file mode 100644 index 0000000000000000000000000000000000000000..a01c42fc7bc4152ef41b2f295aa5c5c41b2f5cd6 --- /dev/null +++ "b/\346\236\227\344\274\237\345\274\272/2021_06_09_Vue(\345\256\211\350\243\205\357\274\211/Vue\345\256\211\350\243\205.md" @@ -0,0 +1,23 @@ +## Vue安装部署 + +准备 全局安装 yarn or npm (都装) + +1. 通过这个命令,可以安装`全局环境`的vue + + yarn global add @vue/cli + +2. 系统环境变量 path 添加 yarn 的 bin 路劲 + - 可以通过命令查看 yarn 的安装路径 + +3. 进入非系统盘作为项目文件的目录 + +4. 通过以下指令新建 vue 项目 + + vue create [项目目录名称] + + cd [项目目录名称] + + 选择 vue2 & 使用 yarn + + + diff --git "a/\346\236\227\344\274\237\345\274\272/2021_06_11_Vue(\351\203\250\347\275\262\346\234\254\345\234\260)/\351\203\250\347\275\262.md" "b/\346\236\227\344\274\237\345\274\272/2021_06_11_Vue(\351\203\250\347\275\262\346\234\254\345\234\260)/\351\203\250\347\275\262.md" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\346\236\227\344\274\237\345\274\272/2021_06_12_Vue(\345\256\211\350\243\205\345\220\216\347\232\204\347\254\224\350\256\260\357\274\211/vue\345\237\272\347\241\200.md" "b/\346\236\227\344\274\237\345\274\272/2021_06_12_Vue(\345\256\211\350\243\205\345\220\216\347\232\204\347\254\224\350\256\260\357\274\211/vue\345\237\272\347\241\200.md" new file mode 100644 index 0000000000000000000000000000000000000000..b7f37ff3a3c4354419f14631f4713ee430a6ea43 --- /dev/null +++ "b/\346\236\227\344\274\237\345\274\272/2021_06_12_Vue(\345\256\211\350\243\205\345\220\216\347\232\204\347\254\224\350\256\260\357\274\211/vue\345\237\272\347\241\200.md" @@ -0,0 +1,52 @@ +` + + + + + + Document + + + +
+ + {{天边}} + +
+ + + + + +` \ No newline at end of file diff --git "a/\346\236\227\344\274\237\345\274\272/biji/\344\276\235\350\265\226\345\205\250\345\261\200\345\234\260\345\235\200\347\232\204\346\237\245\350\257\242.md" "b/\346\236\227\344\274\237\345\274\272/biji/\344\276\235\350\265\226\345\205\250\345\261\200\345\234\260\345\235\200\347\232\204\346\237\245\350\257\242.md" new file mode 100644 index 0000000000000000000000000000000000000000..8749662ea40445330e496acfff34bb6d5ca8c44f --- /dev/null +++ "b/\346\236\227\344\274\237\345\274\272/biji/\344\276\235\350\265\226\345\205\250\345\261\200\345\234\260\345\235\200\347\232\204\346\237\245\350\257\242.md" @@ -0,0 +1,16 @@ +## npm全局安装地址查询指令 +``` + npm config get prefix +``` + +## yarn全局安装地址查询指令 +``` + yarn global dir +``` + +## node全局安装地址查询指令 +``` + npm config ls +Or + where node +``` \ No newline at end of file diff --git "a/\346\236\227\344\274\237\345\274\272/biji/\345\215\225\346\226\207\344\273\266\347\273\204\344\273\266.md" "b/\346\236\227\344\274\237\345\274\272/biji/\345\215\225\346\226\207\344\273\266\347\273\204\344\273\266.md" new file mode 100644 index 0000000000000000000000000000000000000000..ce1c776a74d647056f9424d34d103c93ee55925d --- /dev/null +++ "b/\346\236\227\344\274\237\345\274\272/biji/\345\215\225\346\226\207\344\273\266\347\273\204\344\273\266.md" @@ -0,0 +1,10 @@ +使用 `Vue.component` 的方式定义全局组件,而后接着 `new Vue({el: '#app'}) 的方式在页面内挂载一个容器元素。 + +这种方式在小规模项目没啥问题,这种规模的项目中 JS 只被用来加强特定视图。 +并且有些`缺点`: + +1. 全局定义 +2. template(字符串模板)缺乏高亮 +3. 不支持CSS +4. 没有构建步骤 + diff --git "a/\346\236\227\344\274\237\345\274\272/biji/\345\256\211\350\243\205vuecli\350\204\232\346\211\213\346\236\266.md" "b/\346\236\227\344\274\237\345\274\272/biji/\345\256\211\350\243\205vuecli\350\204\232\346\211\213\346\236\266.md" new file mode 100644 index 0000000000000000000000000000000000000000..7b339c5fc92875a5370a6d428215ae145409fce7 --- /dev/null +++ "b/\346\236\227\344\274\237\345\274\272/biji/\345\256\211\350\243\205vuecli\350\204\232\346\211\213\346\236\266.md" @@ -0,0 +1,21 @@ +准备工作 +- npm +- node +- yarn + +通过yarn安装vue/cli脚手架(之所以快,是因为多线程) +因为通过npm安装vue/cli脚手架 很 慢。 + +``` + yarn global add @vue/cli +``` + +安装好后,通过 `vue` 命令检查安装版本是否正确。 +这里会有两种情况 `Yes` Or `No` + +## No: +要去设置 `Path` 的环境变量,添加一条指向 `yarn\bin`的路劲 + +## 疑惑 + ++ 安装淘宝镜像路径有什么好处呢? \ No newline at end of file diff --git "a/\346\236\227\344\274\237\345\274\272/note_2021_05_27_Vue\347\254\2543\346\254\241\350\257\276/\347\224\237\345\221\275\345\221\250\346\234\237.md" "b/\346\236\227\344\274\237\345\274\272/note_2021_05_27_Vue(\345\256\236\344\276\213\357\274\211/\347\224\237\345\221\275\345\221\250\346\234\237.md" similarity index 100% rename from "\346\236\227\344\274\237\345\274\272/note_2021_05_27_Vue\347\254\2543\346\254\241\350\257\276/\347\224\237\345\221\275\345\221\250\346\234\237.md" rename to "\346\236\227\344\274\237\345\274\272/note_2021_05_27_Vue(\345\256\236\344\276\213\357\274\211/\347\224\237\345\221\275\345\221\250\346\234\237.md" diff --git "a/\346\236\227\344\274\237\345\274\272/note_2021_05_28_Vue\347\254\2544\346\254\241\350\257\276/\347\254\254\344\270\211\346\254\241\350\257\276.md" "b/\346\236\227\344\274\237\345\274\272/note_2021_05_28_Vue(\345\210\227\350\241\250\346\270\262\346\237\223\357\274\211/\347\254\2544\346\254\241\350\257\276.md" similarity index 100% rename from "\346\236\227\344\274\237\345\274\272/note_2021_05_28_Vue\347\254\2544\346\254\241\350\257\276/\347\254\254\344\270\211\346\254\241\350\257\276.md" rename to "\346\236\227\344\274\237\345\274\272/note_2021_05_28_Vue(\345\210\227\350\241\250\346\270\262\346\237\223\357\274\211/\347\254\2544\346\254\241\350\257\276.md" diff --git "a/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/note_2021_05_29.md" "b/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/note_2021_05_29.md" similarity index 100% rename from "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/note_2021_05_29.md" rename to "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/note_2021_05_29.md" diff --git "a/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/note_2021_05_30.md" "b/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/note_2021_05_30.md" similarity index 100% rename from "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/note_2021_05_30.md" rename to "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/note_2021_05_30.md" diff --git "a/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/\347\226\221\346\203\221\346\246\202\345\277\265.md" "b/\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/\347\226\221\346\203\221\346\246\202\345\277\265.md" similarity index 100% rename from "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\347\254\2545\346\254\241\350\257\276/\347\226\221\346\203\221\346\246\202\345\277\265.md" rename to "\346\236\227\344\274\237\345\274\272/note_2021_05_29_Vue\357\274\210\346\217\222\345\200\274\350\256\241\347\256\227\345\261\236\346\200\247\357\274\211/\347\226\221\346\203\221\346\246\202\345\277\265.md" diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-15-47.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-15-47.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..f59725effce29756600586e0a099be6adf3ef361 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-15-47.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-57.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-57.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..a9a0fef92a55ef1a1e0a0c223a0c7671c3e5bcce Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-57.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-58.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-58.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..ce3998a7d70dfffa90d8b6f584d5c291fbac0003 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-18-58.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-21-41.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-21-41.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..368c743e3b54f327034fc69188ead5955b2ef4c8 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-21-41.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-23-35.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-23-35.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..f6fbe567dde09efeb456cfcffa9b0f39c9564964 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-23-35.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-26-58.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-26-58.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..275a60cd8759c1da5198731660531f9ed5b2f13f Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-26-58.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-1.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-1.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..0a469c593193634d7faa0d7a79abc64c7ff48df4 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-1.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-5.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-5.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..3c2cac582ed43f0f1165ec80f48b54b42d11b58d Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 10-30-5.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 8-45-25.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 8-45-25.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..a4ff9ccc2dc50f7f775367ee514c23df04552774 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 8-45-25.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-11-52.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-11-52.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..341888cc7a12adbcb01685222151d5eee68c209a Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-11-52.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-12-58.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-12-58.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..181209305841c44823dbc88c57956ae92d41049d Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-12-58.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-17-40.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-17-40.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..38ed3963212fd50ea6e8a452c5005b29e4c3e635 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-17-40.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-20-28.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-20-28.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..728b7cc0fba0bc7ecb6b14d8717d7f4b52c4e41f Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-20-28.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-14.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-14.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..f1842d4d42f6ade2b9d4c92c1a80da812232f40c Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-14.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-15.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-15.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..b6cd902b5016bba877c56919d8e783380f5b9530 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-15.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-46.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-46.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..93c3e287a90766cd4d699dc22fd4fbc3d7d18926 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-26-46.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-2.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-2.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..40100ad35d01ac5af935d16597418ba5e30e4eb7 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-2.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-58.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-58.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..89f228e2153c31255eb41ad6b99ab9ec00ddd3ae Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-28-58.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-29-38.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-29-38.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..2ba4d7f8845f0a8a7015e1728408f7434c01da26 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-29-38.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-3-47.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-3-47.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..da17d5662894fa7d7467ded7d554d893e67d13ad Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-3-47.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-30-21.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-30-21.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..e5aca510bfddde6961024c5a9609d3ca8623b51c Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-30-21.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-35.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-35.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..de1ac53aa81cab9242d5702ada4ce9e065e04df8 Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-35.JPG" differ diff --git "a/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-48.JPG" "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-48.JPG" new file mode 100644 index 0000000000000000000000000000000000000000..d332d9d5fe71caf8210b5fbf5d677a52470edfac Binary files /dev/null and "b/\346\236\227\344\274\237\345\274\272/\345\233\276\347\211\207/2021-6-8 9-5-48.JPG" differ