Coder Social home page Coder Social logo

learnjs's Introduction


Learn Java Script

Questo repository contiene un semplice template per lo sviluppo di un'applicazione Java Script usando il framework Svelte.

Installazione ambiente di sviluppo

git clone https://github.com/mancusoa74/learnjs.git
cd learnjs
npm install

Lezioni

I file delle lezioni seguono questa convenzione: LezioneJS_01.svelte, dove ogni lezione è identificata da un numero progressivo.

Per eseguire la lezione, modificare il file src/main.js e modifica la prima linea in questo modo:

da

import LearnJS from './LearnJS.svelte';

a

import LearnJS from './LezioneJS_01.svelte';

Sviluppo

Edita il file src/LezioneJS_xx.svelte

...poi lancia il server locale di sviluppo:

npm run dev

Dal tuo browser naviga su localhost:5000.

Vedrai la tua applicazione nel browser. Ogni modifica al file sorgente verrà immediatamente ricompilata e ricaricata dal browser.

Accesso esterno

Di default il server di sviluppo serve l'applicazione solo a localhost. Se vuoi raggiungere la tua app dall'esterno, modifica il file package.json editando il comando sirv in modo che includa il parametro --host 0.0.0.0.

Visual Studio Code

Se usi Visual Studio Code è raccomandato installare il plugin ufficiale Svelte for VS Code.

Happy Learning Java Script !!!!

learnjs's People

Watchers

James Cloos avatar Antonio Mancuso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.