Coder Social home page Coder Social logo

trendingtechnology / vue-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vuesion/vuesion

0.0 2.0 0.0 1.42 MB

an enterprise ready boilerplate for isomorphic, progressive web apps with Vue.JS

Home Page: https://vue-starter.herokuapp.com/

License: MIT License

JavaScript 2.57% HTML 2.81% TypeScript 54.71% Vue 37.19% CSS 2.71%

vue-starter's Introduction

vue-starter Tweet

an enterprise ready boilerplate for isomorphic, progressive web apps with Vue.JS

Build Status codecov Dependencies DevDependencies GitHub repo size GitHub issue last update Maintainability

Live demo

If you want to see a preview before you decide for this starter, please visit the vue-starter app on heroku!

vue-starter

Features

Quick scaffolding

Create components, connected components, modules - and their tests - right from the CLI!

Instant feedback

Enjoy the best DX (Developer eXperience) and code your app at the speed of thought! Your saved changes to the CSS and TypeScript are reflected instantaneously without refreshing the page. Preserve application state even when you update something in the underlying code!

SEO (with vue-meta)

We support SEO (document head tags management) and server-side-rendering for search engines that support indexing of JavaScript content. (eg. Google)

Progressive-Web-App

Offline-first support with service-workers and a lighthouse score as high as possible (for me - 90+).

Enterprise ready

Common style guide, TypeScript and the best test setup: Automatically guarantee code quality and non-breaking changes.

Animations (with anime.js)

A stable animations set up already included.

Components

A flexible component library that'll be extended over time.

Storybook

Storybook for Vue is a UI development environment for UI components. It allows interactive development, testing and sharing of UI components in various property states.

Industry-standard i18n internationalization support

Scalable apps need to support multiple languages, easily add and support multiple languages with vue-i18n.

Predictable state management

Centralized State Management with vuex.

Routing with data prefetching

Server-side-rendering of prefetched data and transferring state from server to client.

Configuration

Default configuration is stored in /src/app/config/default.json, which can get overridden by providing valid JSON in the environment variable CONFIG on application startup or by an environment specific file. For instance, in order to set a custom API endpoint, run CONFIG='{"api":{"baseUrl": "http://custom.api.endpoint/"}}' npm run start. Check documentation of config module.

Getting started

  1. Install Node.js 8.7.x or higher. Use nvm to maintain multiple Node.js versions
  2. Install npm version 5.4.x or higher
  3. clone repository git clone https://github.com/devCrossNet/vue-starter
  4. Install dependencies: npm install
  5. Run npm run dev. The server runs on port 3000 by default, set PORT environment variable to configure a different port

Documentation

FAQ

Why should I use this boilerplate over vue-cli or nuxt.js? This boilerplate is opinionated, aiming to educate and empower users to essentially configure their own framework, ideally suited to their needs. It also includes as less libraries as possible to keep you flexible and to enable you to implement every product requirement that comes down the road.

Use cases for this boilerplate:

  • The requirements for the product might change and you want to maintain maximum flexibility and control.
  • You'd like to focus on developing skills that will transfer across any Vue project.
  • You're working in a large team, so need tooling to help everyone avoid common mistakes, write in a consistent style, and avoid bikeshedding in PRs.

Sponsors

BCG Digital Ventures

Reference resources

License

MIT

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.