1 JS Node frameworks¶
![https://w1.pngwing.com/pngs/885/534/png-transparent-green-grass-nodejs-javascript-react-mean-angularjs-logo-symbol-thumbnail.png](https://w1.pngwing.com/pngs/885/534/png-transparent-green-grass-nodejs-javascript-react-mean-angularjs-logo-symbol-thumbnail.png)
Introduzione allo sviluppo per Javascript
- Author:
eaman
- Copyright:
GFDL
- Version:
0.1
Questi appunti sono ad uso privato.
Generato il 2024-01-27 con: http://docutils.sourceforge.net/rst.html
1.1 Install Node and npm¶
From https://github.com/nodesource/distributions
LTS:
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - &&\
apt-get install -y nodejs
Latest:
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - &&\
apt-get install -y nodejs
Degit:
npm install -g degit
1.2 Svelte¶
![https://italiancoders.it/wp-content/uploads/2021/01/svelte-logo.png](https://italiancoders.it/wp-content/uploads/2021/01/svelte-logo.png)
Web page:
degit sveltejs/template myproject
cd myproject
npm install
npm run dev
1.3 Vue¶
![https://www.positivethinking.tech/wp-content/uploads/2021/01/Logo-Vuejs.png](https://www.positivethinking.tech/wp-content/uploads/2021/01/Logo-Vuejs.png)
npm init vue@latest
cd <your-project-name>
npm install
npm run dev