GithubHelp home page GithubHelp logo

Comments (8)

coryhouse avatar coryhouse commented on May 5, 2024 2

@CreativeManix Get latest and try again. I added a leading slash in index.html for bundle.js. I believe this will fix your issue.

from react-slingshot.

coryhouse avatar coryhouse commented on May 5, 2024 1

Great catch @jforaker. Bummer. This is my miss. The new structure for generating index.html via html-webpack-plugin caused this. I'm looking into a fix, but in the meantime, 4.0.0 will continue to work. I haven't cut a release in awhile so it's quite a few commits behind master.

from react-slingshot.

atfzl avatar atfzl commented on May 5, 2024

try this

<Route path="/" component={App}>
    <IndexRoute component={FuelSavingsPage} />
    <Route path="about" component={AboutPage}/>
    <Route path="auth" component={AuthLayout} >
        <IndexRoute component={LoginPage}/>
        <Route path="atkn" component={AcceptTokenPage}/>
    </Route>
    <Route path="*" component={NotFoundPage} />
  </Route>

from react-slingshot.

CreativeManix avatar CreativeManix commented on May 5, 2024

Sorry, It is not working. If I navigate using I am able to reach /auth/atkn however when I refresh my browser it is showing blank screen.

from react-slingshot.

atfzl avatar atfzl commented on May 5, 2024

Can you give the url to your repo.

from react-slingshot.

coryhouse avatar coryhouse commented on May 5, 2024

@CreativeManix - Is this issue resolved when you get latest?

from react-slingshot.

coryhouse avatar coryhouse commented on May 5, 2024

Closing since this should have been fixed with a recent commit.

from react-slingshot.

jforaker avatar jforaker commented on May 5, 2024

This happens in the latest version as of 6/30/2016 (4.0.0), and is undesirable... any suggestions?

The pull request above references a file that is no longer in the repo.

STR:

  1. clone repo and run it
  2. navigate to http://localhost:3000/fuel-savings and refresh page
  3. see Cannot GET /fuel-savings error

from react-slingshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.