Coder Social home page Coder Social logo

bamboo-c / vue-vuex-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 398 KB

Vue 2, Vuex, Webpack 3 and Typescript 2 starter boilerplate.

License: MIT License

JavaScript 30.22% TypeScript 36.94% CSS 25.50% HTML 7.34%
vuex vue typescript2 boilerplate boilerplate-application webpack3 testing

vue-vuex-boilerplate's Introduction

vue-vuex-boilerplate

Vue 2, Vuex, Webpack 3 and Typescript 2 starter boilerplate.

Usage

$ npm install -g vue-cli
$ vue init bamboo-c/vue-vuex-boilerplate my-project
$ cd my-project
$ yarn install
$ yarn run dev

Used

  • Vue 2
  • Vuex
  • vue-router
  • Webpack 3
  • TypeScript 2
  • karma
  • sass

File stlucture

template
│   karma configs
│   package.json
│   README.md
│   tsconfig.json
│   webpack.config.json // import config/
│   yarn.lock
│
└───config
│       // webpack settings
│       ...
│
└───environment
│       dev.env.js
│       prod.env.js
│
└───node_modules
│       // nodo modules
│       ...
│
└───static
│       favicon.ico
│
└───src
    │   index.html
    │   main.ts
    │   test.ts
    │
    └───api
    │      api mock data
    └───assets
    │   └───images
    │          // project images
    │          ...
    │
    └───components
    │   └───container
    │   │      // container
    │   │      ...
    │   │
    │   └───modules
    │   │      // modules
    │   │      ...
    │   │
    │   └───ui
    │          // ui
    │          ...
    └───router
    │     index.ts
    │
    └───store
    │     index.ts
    │     actions.ts
    │     getters.ts
    │     mutation-types.ts
    │     mutation.ts
    │     state.ts
    │
    └───styles
    │   │   main.scss
    │   │
    │   └───common
    │   │      // common styles
    │   │      ...
    │   │
    │   └───components
    │   │      └───container
    │   │      │      // containers styles
    │   │      │      ...
    │   │      │
    │   │      └───modules
    │   │      │      // modules styles
    │   │      │      ...
    │   │      │
    │   │      └───ui
    │   │             // ui styles
    │   │             ...
    │   │
    │   └───foundation
    │          _normalize.scss
    │   
    └───utils
            component-test.ts
            log.ts

vue-vuex-boilerplate's People

Contributors

bamboo-c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aburai onnion

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.