🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

mvvc

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvvc

Concise and practical javascript framework

Source
npmnpm
Version
2.0.3-patch.18
Version published
Weekly downloads
52
2500%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

MVVC is a light multi-page and popular front frameworks supported web developing framework

Concept

  • M: Model
  • VV: View and view model
  • C: Controller

Background

  • In real developing environment, coworkers may use different front frameworks, like react, angular, vue, mirror, etc.
  • A web project always contains mutiple web pages, instead of a single application page
  • It's better not to repeat same development and production's configuration

Feature

Specific

  • Choose specific react, inferno, and other projects to generate
  • Choose specific pages in specific projects to develop or build

MVVC

Decouple models, view and view models and controllers

Reusability

Multiple pages can share or inherit props and methods by contollers

Getting started

There're two simple ways to start(Step by step)

Local

# Step1 Create root
mkdir MvvcProject & cd MvvcProject

# Step2 Install
npm install mvvc

# Step3 Initilize
node_modules/.bin/mvvc init

Global

# Step1 Install globally
npm install mvvc -g

# Step2 Initilize root project
mvvc init -p MvvcProject

Tip: choose project(s) to generate when mvvc was initialized partly

You've gotten a complete project which can be moved to anywhere to develop, then let's start to develop

# Step1 (Ingore this step if MvvcProject was created locally) Switch to MvvcProject
cd MvvcProject

# Step2 Install dependencies
npm install 

# Step3 Start
npm start

Contributing

If you found somewhere in codes to be improved or fixed, or just make a suggestion, don't hesitate to send a pull request!

FAQs

Package last updated on 12 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts