Skip to content

Vue 1.0 project - Start from scratch

License

Notifications You must be signed in to change notification settings

king-prawns/Vue1.0-SFS

Repository files navigation

Vue1.0-SFS

Vue 1.0 project - Start from scratch

Installation

  • Install Node.js

Go to Node website

A simple CLI for scaffolding Vue.js projects

$ npm install -g vue-cli

Full fake REST API

$ npm install -g json-server

Usage

  • Clone or Download the project

  • Install dependencies

$ cd my-project
$ npm install
  • Open first command prompt

a) for dev build

$ cd my-project
$ npm run dev

b) for prod build

$ cd my-project
$ npm run build

Install http-server

A command-line http server

$ npm install -g http-server

then

$ cd my-project\dist
http-server
  • Open second command prompt
$ cd my-project\fake_db
$ json-server --watch db.json

Features

Conclusion

This is just a simple example, I hope this will help you to understand better Vue.

About

Vue 1.0 project - Start from scratch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published