weijingjing / vue Goto Github PK
View Code? Open in Web Editor NEWhttps://www.imooc.com/learn/980
https://www.imooc.com/learn/980
1.安装
2.组件开发
3.制作案例
https://cn.vuejs.org/v2/guide/installation.html
https://blog.csdn.net/efficiency9/article/details/72835099
1.升级 npm
n stable
2.安装 vue
sudo npm install -g vue
3.安装vue-cli
npm install -g vue-cli
4.创建一个基于webpack的项目
sudo vue init webpack my-project
5.启动
sudo cd my-project
sudo npm install
sudo npm run dev
➜ vue git:(master) ✗ npm run start
npm ERR! Linux 4.13.0-43-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! path /home/wjj/Documents/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/wjj/Documents/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/wjj/Documents/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/wjj/Documents/vue/npm-debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.