profile
viewpoint
花裤衩 PanJiaChen ByteDance Shanghai, China

PanJiaChen/electron-vue-admin 2278

vue electron admin template web: http://panjiachen.github.io/vue-admin-template

PanJiaChen/awesome-bookmarks 1211

:sparkling_heart: A curated list of awesome things

PanJiaChen/custom-element-theme 38

custom-element-theme

L-x-C/graduation-project-in-mean-stack 20

MongoDB+Express+AngularJS+NodeJS(MEAN Stack)

PanJiaChen/es6tutorial 12

《ECMAScript 6入门》是一本开源的 JavaScript 语言教程,全面介绍 ECMAScript 6 新增的语法特性。

PanJiaChen/Front-end-Web-Development-Interview-Question 9

前端开发面试题大收集 :heart: :gift_heart: :cupid:

PanJiaChen/demo-playground 8

:sunglasses: A simple development playground with live reload capability

PanJiaChen/get-markdown-images 8

:floppy_disk: get all images from markdown

PanJiaChen/element 4

A Vue.js 2.0 UI Toolkit for Web

fork 520dong/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

fork in a minute

startedPanJiaChen/vue-admin-template

started time in 3 minutes

startedPanJiaChen/vue-element-admin

started time in 20 minutes

fork WJLMGQS/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

fork in 20 minutes

pull request commentPanJiaChen/vue-element-admin

fix todoList编辑值为空时有bug

Deploy preview for vue-element-admin processing.

Building with commit de3a28fe4744a68adf377de3b9723919d5923fbe

https://app.netlify.com/sites/vue-element-admin/deploys/5fca06ddaa812b0008601121

xinggedaxia

comment created time in an hour

PR opened PanJiaChen/vue-element-admin

fix todoList编辑值为空时有bug

1、todo无需再包裹 2、删除todo后应该关闭编辑框

+2 -3

0 comment

1 changed file

pr created time in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

startedPanJiaChen/vue-admin-template

started time in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

fork jxp1147/vue-element-admin-site

:pencil: The documentation source of vue-element-admin https://panjiachen.github.io/vue-element-admin-site

fork in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

startedinconshreveable/ngrok

started time in an hour

fork willie-wan/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

fork in an hour

startedPanJiaChen/vue-element-admin

started time in an hour

startedPanJiaChen/vue-element-admin

started time in 2 hours

startedPanJiaChen/vue-element-admin

started time in 2 hours

startedrmariuzzo/react-new-window

started time in 2 hours

fork xinggedaxia/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

fork in 2 hours

fork leeq404/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

fork in 2 hours

startedopenkraken/kraken

started time in 2 hours

created repositoryopenkraken/kraken

A high-performance, web standards-compliant rendering engine.

created time in 2 hours

issue commentvuejs/rfcs

async setup usability

@backbone87 Sorry I don't see the link, mutable variables != functions. Would you say Math.min is part of the contract if my implementation uses it? How is watch from Vue different? Actually, how would you know what I use? Should I document it? Where is encapsulation?

jods4

comment created time in 2 hours

issue closedvuejs/vue-cli

Variables not replaced by dev server when publicPath is set

Version

4.5.9

Reproduction link

https://github.com/hesmar/bug-vue-cli

Environment info

Environment Info:

  System:
    OS: Linux 4.9 Debian GNU/Linux 9 (stretch) 9 (stretch)
    CPU: (6) arm64 unknown
  Binaries:
    Node: 15.3.0 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 7.0.14 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1 
    @vue/babel-helper-vue-transform-on:  1.0.0-rc.2 
    @vue/babel-plugin-jsx:  1.0.0-rc.3 
    @vue/babel-plugin-transform-vue-jsx:  1.2.1 
    @vue/babel-preset-app:  4.5.9 
    @vue/babel-preset-jsx:  1.2.4 
    @vue/babel-sugar-composition-api-inject-h:  1.2.1 
    @vue/babel-sugar-composition-api-render-instance:  1.2.4 
    @vue/babel-sugar-functional-vue:  1.2.2 
    @vue/babel-sugar-inject-h:  1.2.2 
    @vue/babel-sugar-v-model:  1.2.3 
    @vue/babel-sugar-v-on:  1.2.3 
    @vue/cli-overlay:  4.5.9 
    @vue/cli-plugin-babel: ~4.5.9 => 4.5.9 
    @vue/cli-plugin-eslint: ~4.5.9 => 4.5.9 
    @vue/cli-plugin-router:  4.5.9 
    @vue/cli-plugin-vuex:  4.5.9 
    @vue/cli-service: ~4.5.9 => 4.5.9 
    @vue/cli-shared-utils:  4.5.9 
    @vue/component-compiler-utils:  3.2.0 
    @vue/preload-webpack-plugin:  1.1.2 
    @vue/web-component-wrapper:  1.2.0 
    eslint-plugin-vue: ^6.2.2 => 6.2.2 
    vue: ^2.6.11 => 2.6.12 
    vue-eslint-parser:  7.2.0 
    vue-hot-reload-api:  2.3.4 
    vue-loader:  15.9.5 (16.1.0)
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.6.11 => 2.6.12 
    vue-template-es2015-compiler:  1.9.1 
  npmGlobalPackages:
    @vue/cli: 4.5.9

Steps to reproduce

  1. Install dependencies: npm install
  2. Run the dev server: npm run serve
  3. Open http://localhost:8060/obstacledetection in web browser and check the HTML source.

What is expected?

The HTML source that is served should contain the correct paths.

What is actually happening?

The HTML source contains placeholders for some variables, e.g. BASE_URL, which makes the browser unable to resolve the paths.


This happens when the publicPath is set in the vue.config.js. Without publicPath, the variables are replaced by the dev server.

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 hours

hesmar

issue commentvuejs/vue-cli

Variables not replaced by dev server when publicPath is set

Ok, it was an issue with my setup. I have a reverse proxy running in front of the the application. That proxy stripped the /obstacledetection path prefix. Without stripping, it works as expected. Thanks for the hint, @fangbinwei !

hesmar

comment created time in 2 hours

startedPanJiaChen/vue-admin-template

started time in 2 hours

startedPanJiaChen/vue-element-admin

started time in 2 hours

more