1

Is it possible to use react-router without installing node.js?

As I see this is that there is no way to use react router without using node.js. As I see it we should install node.js and use npm to install react-router. And only then we could use it.

Is react-router is node.js component only or it can be downloaded separately?

Thanks!

3
  • 2
    Did you consider checking react-router documentation? Commented Feb 13, 2016 at 11:20
  • oh, that's my fault. It's because I saw this in the Installation block: Using npm: $ npm install --save react-router Commented Feb 13, 2016 at 11:28
  • but there is a CDN available: <script src="https://npmcdn.com/react-router/umd/ReactRouter.min.js"></script> Commented Feb 13, 2016 at 11:28

1 Answer 1

1

Yes, it is possible using provided CDN. My fault that I haven't read the docs.

Sign up to request clarification or add additional context in comments.

2 Comments

I recommend you to follow the webpack and npm install path as specified in this tutorial. I was not a node guy before. But node helps you in managing imports pretty well. egghead.io/lessons/…
Yes, I started to use node.js yesterday and now I am node guy :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.