Giter Club home page Giter Club logo

vue_sample's Introduction

vue1 是在html中直接加入 <script src="https://unpkg.com/vue"></script> 然后进行简单开发

vue-cli常用的命令

关于安装

关于新建项目

vue init webpack demo1
cd demo1
npm install 或者 npm i
npm run dev
npm build
demo1 介绍了Conponet组件的嵌套使用,将components目录下的组件嵌套到App.vue下使用
demo2 介绍路由的使用 【可以创建项目的时候选用vue-router也可以后期通过npm install vue-router添加路由,并在main.js中引入】
demo3 介绍路由的使用【扩展了路由的使用】
demo4 没有使用路由,vue组件之间的嵌套,页面头,页面,和页面脚
demo5 介绍路由的使用 【一级路由,二级路由,三级路由】
demo6 在线翻译的demo【Vue Resource的使用,用过套件的使用,页面之间值的传递,cnpm install vue-resource,在main.js中引用import VueResource from 'vue-resource'并进行使用Vue.use(VueResource)】
demo7 套间的路由

Vue内容

</div>
<script> export default { } </script> <style> </style>

vue_sample's People

Watchers

 avatar

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.