From aeb0f06cffc6f5f5384057c1b7f07362e89b6790 Mon Sep 17 00:00:00 2001 From: Pierre Charles Date: Sun, 3 Mar 2019 22:09:45 +0100 Subject: [PATCH 1/2] :notebook_with_decorative_cover: Updating documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 81d8b48..4ec0c59 100755 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ - TypeScript - Router (VueRouter) - Store (Vuex) +- i18n (Vue-i18n) - CSS Pre-processors (Sass/SCSS with dart-sass) - Linter and formatter (TSLint) - Unit Testing (Mocha + Chai) From 8af71028fd9bf59a93262aa1df84b9c4d0d5d14d Mon Sep 17 00:00:00 2001 From: Pierre Charles Date: Sun, 3 Mar 2019 22:10:18 +0100 Subject: [PATCH 2/2] :notebook_with_decorative_cover: Adding serve doc informations --- docs/guide/how-to-use.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/docs/guide/how-to-use.md b/docs/guide/how-to-use.md index 2e491a6..0662f41 100644 --- a/docs/guide/how-to-use.md +++ b/docs/guide/how-to-use.md @@ -3,13 +3,20 @@ ## Development ```bash -$ yarn run serve # compiles and hot-reloads for development +$ yarn run serve # compiles and hot-reloads for development ``` ## Production ```bash -$ yarn run build # compiles and minifies for production +$ yarn run build # compiles and minifies for production +``` + +To render your build project in local, run : + +```bash +$ yarn global add serve # (if you don't already have serve global dependency) +$ serve -s dist ``` ## Testing @@ -17,21 +24,21 @@ $ yarn run build # compiles and minifies for production Run your tests ```bash -$ yarn run test # run your tests -$ yarn run test:e2e # run your end-to-end tests -$ yarn run test:unit # run your unit tests +$ yarn run test # run your tests +$ yarn run test:e2e # run your end-to-end tests +$ yarn run test:unit # run your unit tests ``` ## Lint ```bash -$ yarn run lint # lints and fixes files +$ yarn run lint # lints and fixes files ``` ## Documentation ```bash -$ yarn run docs:dev # run server for editing your vuepress documentation -$ yarn run docs:build # build your vuepress documentation -$ yarn run docs:deploy # deploys vuepress documentation +$ yarn run docs:dev # run server for editing your vuepress documentation +$ yarn run docs:build # build your vuepress documentation +$ yarn run docs:deploy # deploys vuepress documentation ``` \ No newline at end of file