sunseekers ever weeping, ever youthful

startedHaoChuan9421/vue-cli3-optimization

started time in 2 days

startedreduxjs/redux

started time in 10 days

push eventsunseekers/Article

sunseekers

commit sha df18d9cea886ddbfe3ed1e9d1785e293da847779

删除

view details

push time in 11 days

push eventsunseekers/Article

sunseekers

commit sha fd65ff0ce2da119cb193c2e44f0081b13d21e238

版本升级

view details

push time in 11 days

issue commentmqyqingfeng/Blog

JavaScript深入之从原型到原型链

野路子半吊子前端速来集合,偷偷告诉你 ,我最先是学的网管专业的😄

我也是前端野路子,电子商务专业。哈哈

mqyqingfeng

comment created time in 24 days

startedmqyqingfeng/Blog

started time in 25 days

startedchokcoco/CSS-Inspiration

started time in a month

issue commentAdvanced-Frontend/Daily-Interview-Question

第 30 题:请把俩个数组 [A1, A2, B1, B2, C1, C2, D1, D2] 和 [A, B, C, D],合并为 [A1, A2, A, B1, B2, B, C1, C2, C, D1, D2, D]。

//利用字符串的charCodeAt 进行排序,some 只要找到一个符合条件的就不要在进行循环了 var array = ['A1', 'A2','B1', 'B2', 'C1', 'C2', 'D1', 'D2'] var array1 = ['A','B','C','D'] var result = array//重新定义一个新的数组,不影响原来的数组 var array2 = array.join('').split('') array1.some((x,index)=>{ array2.some((y,key)=>{ if(y.charCodeAt()>x.charCodeAt()){ return result.splice((key/2)+index,0,x) } }) }) result.push(array1[array1.length-1])

jefferyE

comment created time in a month

startedTroland/how-javascript-works

started time in a month

startediina/iina

started time in 2 months

issue openedpoetries/FE-Interview-Questions

18 数组降维

[1, [2], 3].flatMap((v) => v + 1) // -> [2, 3, 4]

应该是[2, "21", 4]

在浏览器打印出来的结果

created time in 2 months

startedmqyqingfeng/Blog

started time in 2 months

startedpoetries/FE-Interview-Questions

started time in 2 months

issue commentvuejs/vue-cli

最新的cli,她的webpack设置4.28.4,vue-router 懒加载支持哪几种方式??

   component: (resolve) => {
      require(['./components/manage/dataMonitor/CommodityStockMonitorList'], resolve)
    }以前使用这种方式引入,请问还能用这种方式吗???
sunseekers

comment created time in 2 months

issue openedvuejs/vue-cli

最新的cli,她的webpack设置4.28.4,vue-router 懒加载支持哪几种方式??

IMPORTANT: Please use the following link to create a new issue:

https://new-issue.vuejs.org/?repo=vuejs/vue-cli

If your issue was not created using the app above, it will be closed immediately.

中文用户请注意: 请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。

created time in 2 months

issue commentvuejs/vue-cli

dynamic import() Syntax makes webpack throw an error

webpack v4.29.0 not support.

yesterday, run

vue create <project-name>

cd <project-name>
npm run serve

is error.

Module parse failed: Unexpected token (17:13)
You may need an appropriate loader to handle this file type.
|     // which is lazy-loaded when the route is visited.
|     component: function component() {
>       return import(
|       /* webpackChunkName: "about" */
|       './views/About.vue');

today, run

vue create <project-name>

cd <project-name>
npm run serve

is ok.

compare package-lock.json,

error version

...
"webpack": {
      "version": "4.29.0",
      "resolved": "http://registry.npm.taobao.org/webpack/download/webpack-4.29.0.tgz",
     ...
}
...

ok version

...
"webpack": {
      "version": "4.28.4",
      "resolved": "http://registry.npm.taobao.org/webpack/download/webpack-4.28.4.tgz",
     ...
}
...

So, the vue-cli is compatible with the downgraded version of webpack.

You can do this

rm -fr node_modules package-lock.json
npm install
npm run serve

then see package-lock.json

...
"webpack": {
      "version": "4.28.4",
      "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.28.4.tgz",
      ...
}
...

is work.

想问一下我路由是使用 (resolve) => { require(['./components/stockAdjust/StockAdjustList'], resolve) }方式引入的,路由懒加载也有问题,首屏直接加载所有路由而不是,只加载用到的那一个。我已经把webpack设置为"4.28.4",了。为什么没有效果,还是首屏加载所有路由。没有懒加载

DragosRocsoreanu

comment created time in 2 months

startedchenshenhai/deno_note

started time in 2 months

startedsunseekers/React

started time in 2 months

startedewen0930/WebStorm-Chinese

started time in 2 months

push eventsunseekers/Article

sunseekers

commit sha 184e3dd8761825f0eb04ef15affb276603329934

feat 修改文章

view details

push time in 2 months

push eventsunseekers/Article

sunseekers

commit sha 74d606b02acd45bbc7207830fe922050d8157737

feat 修改文章

view details

push time in 2 months

push eventsunseekers/Article

sunseekers

commit sha c29bce926e80889da332bf581458c2dad99f4afe

feat 修改文章

view details

push time in 2 months

push eventsunseekers/Article

sunseekers

commit sha 45cf06f7752ca0b01468cea6e4096275c2b35176

feat 修改文章

view details

push time in 2 months

push eventsunseekers/vue-cli

sunseekers

commit sha 6523cf2bf13307b2d07cee03ea0ab429854af179

Add files via upload 配置文件

view details

push time in 2 months

startedAdvanced-Frontend/Daily-Interview-Question

started time in 2 months

starteddenoland/deno

started time in 2 months

push eventsunseekers/vue-cli

sunseekers

commit sha 4881a9b6af63d1a61c8244b1302360ad6af5f72c

Delete constant.js

view details

push time in 3 months

startedlmxdawn/vue-admin-html

started time in 3 months

push eventsunseekers/vue-cli

sunseekers

commit sha 53a64718f056d8a0ed515fe67162d8cc5121f244

vue-cli

view details

push time in 3 months

push eventsunseekers/vue-cli

sunseekers

commit sha 4330f07b39aae6df57ff2c852138ae79d1597a3f

Delete login_bg.png

view details

push time in 3 months

push eventsunseekers/vue-cli

sunseekers

commit sha 11a9c50a190b180012137db657006488eb2b3886

Delete Group.png

view details

push time in 3 months

more