diff --git a/frontend/nextJS/README.md b/frontend/nextJS/README.md index 830d044..196103a 100644 --- a/frontend/nextJS/README.md +++ b/frontend/nextJS/README.md @@ -2,4 +2,25 @@ [Home](../../README.md) -[Reference](https://nextjs.org/learn/basics/create-nextjs-app) \ No newline at end of file +[Reference](https://nextjs.org/learn/basics/create-nextjs-app) + +Bootstrap a project + +```sh +$ npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter" + +``` + +Launch the server + +```sh +$ cd nextjs-blog +$ npm run dev + +> learn-starter@0.1.0 dev C:\dev\playground\nextjs-blog +> next dev + +ready - started server on http://localhost:3000 +``` + +Browse [localhost](http://localhost:3000). Next.js page will be displayed \ No newline at end of file diff --git a/frontend/vueJS/README.md b/frontend/vueJS/README.md index 703baf9..8dfbb55 100644 --- a/frontend/vueJS/README.md +++ b/frontend/vueJS/README.md @@ -2,4 +2,46 @@ [Home](../../README.md) -[Reference](https://vuejs.org/) \ No newline at end of file +[Reference](https://vuejs.org/) + +Boostrap a project. Select the default + +```sh +$ vue create myapp-vue + +Vue CLI v4.5.9 +┌──────────────────────────────────────────┐ +│ │ +│ New version available 4.5.9 → 4.5.10 │ +│ Run npm i -g @vue/cli to update! │ +│ │ +└──────────────────────────────────────────┘ + +? Please pick a preset: (Use arrow keys) +> Default ([Vue 2] babel, eslint) + Default (Vue 3 Preview) ([Vue 3] babel, eslint) + Manually select features +``` + + + +Run the server + +```sh +$ cd myapp-vue +$ npm run serve + + DONE Compiled successfully in 2691ms 4:51:22 PM + + App running at: + - Local: http://localhost:8080/ + - Network: http://192.168.0.132:8080/ + + Note that the development build is not optimized. + To create a production build, run npm run build. +``` + +Browse [localhost](http://localhost:8080). You should see Vue page. + + +