8

How can I set up vue js without npm? I'm not able to install npm right now because of some reasons. Is vue.js enough? What am I missing?

P.S.: I've just started to learn vue.js and I don't want to miss something and struggle after I realize I need something that I can get only with npm.

0

3 Answers 3

5

You could download the source and just include it in a script tag in the index.html.

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

2 Comments

But what about vue-cli or webpack or what are those about? I want to have all the features.
If only npm is the issue you might be able to install via yarn or some other package manager. Other wise you will have to look for each of the source code pages and install manually.
1

Have you checked this?

Simply download and include with a script tag. Vue will be registered as a global variable.

You can simply use vuejs by including it directly.

1 Comment

Yes, I did, I just thought there's more that I need to have a full instalation.
0

Try CodeSandbox.io. Its an online editor and just got support for Vue. It automates things like transpiling, bundling and dependency management.

1 Comment

This setup needs NPM

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.