- Para correr el código
npm i
npm run serve
-
El código está en el directorio /dev/components
-
Diapositivas aquí
- ToDoList inspirada en https://github.com/shprink/web-components-todo/tree/master/native
This project includes a sample component using LitElement with JavaScript.
Install dependencies:
npm i
This sample uses modern-web.dev's @web/dev-server for previewing the project without additional build steps. Web Dev Server handles resolving Node-style "bare" import specifiers, which aren't supported in browsers. It also automatically transpiles JavaScript and adds polyfills to support older browsers. See modern-web.dev's Web Dev Server documentation for more information.
To run the dev server and open the project in a new browser tab:
npm run serve
There is a development HTML file located at /dev/index.html
that you can view at http://localhost:8000/dev/index.html.
See Get started on the LitElement site for more information.