Browse Source

add docs

master
zeus 2 years ago
parent
commit
b9a3bc986c
  1. 16
      README.md
  2. 43
      docs/modules/ROOT/pages/index.adoc

16
README.md

@ -18,24 +18,20 @@
![alt text](images/swarmlab-network.png "")
## LabInstance Node VueJS
## LabInstance nodejs
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.
Vue.js (commonly referred to as Vue; pronounced "view") is an open-source model–view–viewmodel front end JavaScript framework for building user interfaces and single-page applications. It was created by Evan You, and is maintained by him and the rest of the active core team members
Node.js has an event-driven architecture capable of asynchronous I/O. These design choices aim to optimize throughput and scalability in web applications with many input/output operations, as well as for real-time Web applications (e.g., real-time communication programs and browser games).
Vue.js features an incrementally adaptable architecture that focuses on declarative rendering and component composition. The core library is focused on the view layer only. Advanced features required for complex applications such as routing, state management and build tooling are offered via officially maintained supporting libraries and packages.
The Node.js distributed development project was previously governed by the Node.js Foundation, and has now merged with the JS Foundation to form the OpenJS Foundation, which is facilitated by the Linux Foundation's Collaborative Projects program
Vue.js allows for extending HTML with HTML attributes called directives. The directives offer functionality to HTML applications, and come as either built-in or user defined directives.
https://vuejs.org/
https://cli.vuejs.org/
https://nodejs.org/en/
## Quickstart
This is a quickstart guide of howto use this *LabInstance to deploy Vue js applications*
This is a quickstart guide of howto use this *LabInstance*
### HowTo use it

43
docs/modules/ROOT/pages/index.adoc

@ -24,54 +24,19 @@ This is a quickstart guide of howto use this *LabInstance*
> pass
=== Creating a Project
> vue create hello-world
==== Run it!
> npm run serve
=== Open it!
> http://localhost:8080
== LabInstance Info
Vue.js (commonly referred to as Vue; pronounced "view") is an open-source model–view–viewmodel front end JavaScript framework for building user interfaces and single-page applications. It was created by Evan You, and is maintained by him and the rest of the active core team members
Vue.js features an incrementally adaptable architecture that focuses on declarative rendering and component composition. The core library is focused on the view layer only. Advanced features required for complex applications such as routing, state management and build tooling are offered via officially maintained supporting libraries and packages.
Vue.js allows for extending HTML with HTML attributes called directives. The directives offer functionality to HTML applications, and come as either built-in or user defined directives.
TIP: What differentiates Vue.js from other alternatives is:
its “high decoupling”, how easy it is to extend functionalities, and how well all parts work once more modules are included.
For example, if we want to organize and render small visual components, all we need is Vue.js’s ‘core’ library. It is not necessary to include additional libraries.
As the application grows,
* we have libraries to manage routes such as ‘vue-router’,
* libraries to manage the global state such as ‘vuex’
* and libraries to build responsive web applications such as ‘bootstrap-vue’.
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.
Additionally, if our application needs to be optimized or needs good SEO, we can include the ‘vue-server-rendering’ library.
Node.js has an event-driven architecture capable of asynchronous I/O. These design choices aim to optimize throughput and scalability in web applications with many input/output operations, as well as for real-time Web applications (e.g., real-time communication programs and browser games).
The Node.js distributed development project was previously governed by the Node.js Foundation, and has now merged with the JS Foundation to form the OpenJS Foundation, which is facilitated by the Linux Foundation's Collaborative Projects program
== More info
https://vuejs.org/[^]
https://cli.vuejs.org/guide/creating-a-project.html#vue-create[^]
https://nodejs.org/en/[^]
== RUN INSTANCE

Loading…
Cancel
Save