Git Product home page Git Product logo

lucky_vue_template's Introduction

An ads: There are friends who need a vue mobile chart library, please check here

Others: If you want to build muti-pages by vue ,please see the muti-pages branch.

This is a webpack template for vue; the base config contains iview+vuex+vue-router

Usage 中文

$ npm install -g vue-cli
$ vue init mrgaogang/lucky_vue_template my-project
$ cd my-project
$ npm install
$ npm run dll #only first run 
$ npm run dev

Directory introduction

|-- lucky_vue
    |-- babel.config.js //babel config
    |-- index.css //gloabl css
    |-- index.html
    |-- package-lock.json
    |-- package.json
    |-- webpack.base.config.js // base build config
    |-- webpack.dev.config.js  //development environment build config
    |-- webpack.prod.config.js //production environment build config
    |-- dist // the production environment build folder
    |   |-- index.html
    |   |-- css
    |   |-- fonts
    |   |-- img
    |   |-- js
    |-- src
        |-- App.vue
        |-- main.js // the app entry js
        |-- modules.js // the commmon read modules js
        |-- components // the sub pages
        |   |-- Home.vue
        |-- plugins // global plugins 
        |   |-- iview.js
        |-- router // page router
        |   |-- index.js
        |-- server // gloabl server config 
        |   |-- fetch.js // Encapsulated network request js
        |   |-- index.js
        |   |-- api // the api constants
        |   |   |-- index.js
        |   |-- modules // the submodule api request
        |       |-- home.js
        |-- store // gloabl state config
            |-- index.js
            |-- modules // the submodule state config 
                |-- home.js

lucky_vue_template's People

Contributors

mrgaogang avatar

Watchers

 avatar

Forkers

sima-999 ycj0808

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.