qimingweng / static-render-webpack-plugin

Generates a series of static routes for a website, given an array of routes
http://www.qimingweng.com/writing/webpack-static-render
MIT License
39 stars 2 forks source link

update browser history (address bar) with webpack-dev-server #7

Open oojacoboo opened 8 years ago

oojacoboo commented 8 years ago

Is there a way to update the address bar with the current url when using webpack-dev-server? It's a bit frustrating not knowing what the actual url is of the page you're currently on.

qimingweng commented 8 years ago

I don't understand this question?

oojacoboo commented 8 years ago

I get this bar across the top of the page. It's wrapping the output HTML within an iframe which is suppressing changes to the url address in the browser's address bar.

screen-shot-2016-10-12-16-25-35

It could be that this is unrelated to this plugin. Honestly, I'm not quite sure. I thought it was part of webpack-dev-server at first, but I can't find anything on it. This shows when running webpack-dev-server.

qimingweng commented 8 years ago

This is completely unrelated to this plugin... but maybe part of redux dev tools or something like that? What other tools are you using?

oojacoboo commented 8 years ago

Hmm, yea I thought that may be the case - don't think it's redux though, not using that for this project.

"devDependencies": {
    "@types/react": "^0.14.37",
    "@types/react-dom": "^0.14.17",
    "@types/react-router": "^2.0.36",
    "@types/winston": "0.0.28",
    "css-loader": "^0.25.0",
    "extract-text-webpack-plugin": "^1.0.1",
    "file-loader": "^0.9.0",
    "fs": "0.0.1-security",
    "history": "^4.3.0",
    "json-loader": "^0.5.4",
    "postcss-assets": "^4.1.0",
    "postcss-assets-rebase": "^0.4.0",
    "postcss-cssnext": "^2.8.0",
    "postcss-inline-svg": "^2.1.2",
    "postcss-loader": "^0.13.0",
    "precss": "^1.4.0",
    "react": "^15.3.2",
    "react-dom": "^15.3.2",
    "react-router": "^2.8.1",
    "react-router-to-array": "^0.1.2",
    "static-render-webpack-plugin": "^0.1.2",
    "stylelint": "^7.4.0",
    "ts-loader": "^0.9",
    "tslint": "^3.15",
    "tslint-config-standard": "^1.3.0",
    "tslint-eslint-rules": "^1.5.0",
    "tslint-loader": "^2.1.5",
    "tslint-react": "^1.0.0",
    "typescript": "^2.0.3",
    "typescript-require": "^0.2.9-1",
    "webpack": "^1.13.2",
    "webpack-dev-server": "^1.16.2",
    "winston": "^2.2.0"
  }