1.4.9 • Published 5 years ago

viage-cli v1.4.9

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Welcome to Viage CLI

This is a companion project to Viage that allows you to quickly start Viage projects and create components and services. See the Viage Website for more details.

Installation

npm install -g viage-cli

If this fails try removing the older verion first and then re-install: npm rm -g viage-cli npm install -g viage-cli

API

app

Scaffolds out a new Viage Project in the current directory. viage app <name>

Where name is name of the project. To launch the newly created application: cd <name> && npm run start

component

Creates a new component in the current project. viage component <name>

Where name is the name of the component.

service

Creates a new service in current project. viage service <name>

Where name is the name of the service.

Troubleshooting

If the installation fails or the cli just isn't working, try moving the package and then re-installing:

npm rm -g viage-cli
npm install -g viage-cli

Viage Apps

When a viage app is created there are several npm commands built into the package.json script section. Open a terminal in the newly created Viage app's directory, and then you can type the following commands:

start

npm run start Performs a development build and then launches the development server and a opens a tab in the web browser pointing to your app. Changes made in code will be automatically be served to the browser on every save.

build

npm run build Compiles a production build. The results of that build will be in the dist/ folder.

build-embedded

npm run build-embedded Performs a production build but then also embeds the compiled source into the HTML document so only one file is served. This new html file will be called index-embedded.html

test

npm run test Launches ts-jest and runs all the tests in the tests directory

server

npm run serve Launches a nodejs server that serves all the files from the dist folder. This allows you to run the app as its built for release from the dist directory.

How to Viage

For more information on how to Viage, go to the Viage page or the Viage Shopping List Tutorial

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.20

5 years ago

1.3.19

5 years ago

1.3.18

5 years ago

1.3.17

5 years ago

1.3.16

5 years ago

1.3.15

5 years ago

1.3.14

5 years ago

1.3.12

5 years ago

1.3.10

6 years ago

1.3.9

6 years ago

1.3.0

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago