Skip to content

marcpre/learning_npm_lite-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning_npm_lite-server

This server should ONLY be used for development.

##Install

npm install lite-server --save-dev

Add this to your script { section:

  "scripts": {    
    "dev": "lite-server"
  },```

3. 

Add a `bs-config.json` and add the following configuration:

{ "port": 8000, "files": ["./src/**/*.{html,htm,css,js}"], "server": { "baseDir": "./src" } }


[Github lite-server](https://github.com/johnpapa/lite-server)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published