Git Product home page Git Product logo

vue-test's Introduction

Vue-test

介绍

这是一个迁移自react-test的vue示例项目
该demo展示了异步登录,页面检测登录自动跳转,不同页面渲染等相关操作.
redux+revue作为状态管理,vue-router作为路由,使用vue-loader编译*.vue组件
须安装webpack,redux-devtools-extension

目录结构

webpack.config.js //webpack配置文件
app.js                   //express应用程序
-views                  //express模板
-public                 //静态文件夹
-client                  //客户端项目文件夹
--app.js                //入口文件
--config.js            //配置文件
--router.js            //路由文件
--store.js              //状态管理文件
---actions            //redux action列表
---reducers          //redux reducer列表
---components    //vue组件
---pages              //页面组件

##如何运行

npm install
webpack
npm start

vue-test's People

Contributors

baka397 avatar

Watchers

James Cloos 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.