luixaviles / litelement-website Goto Github PK
View Code? Open in Web Editor NEWA Single Page Application(SPA) based on Web Components using LitElement and TypeScript
License: MIT License
A Single Page Application(SPA) based on Web Components using LitElement and TypeScript
License: MIT License
I've cloned the repo and followed the instructions, but for any command that I try to run I get an error similar to
cypress/integration/about.spec.ts(4,5): error TS2304: Cannot find name 'cy'.
Hello I am trying to use LitElement today following your article on
LitElement properties: @property vs @internalProperty
U give a demo but it does not work as your article. I try to fix a bug. but it dose not render table when click a user.
After click fresh button to reload the page, user list and table dont render.
Could u fix it adn tell why ?
Very nice series of articles and it's good to see that you're following the open-wc scaffolding including the web-dev-server but the example you give for an admin page won't work as there doesn't seem to be any redirections of requests going to the app entry point (index.html).
This also means that a user cannot refresh one of the application routes in the browser (i.e. a blog post) as this will result in a 404 error.
Edit:
There's been a change in the development web server from es-dev-server
to @web/dev-server
since you wrote this article. To get your code running with the modern open-wc
scaffold you need to edit your package.json
from
"start": "concurrently --kill-others --names tsc,es-dev-server \"npm run tsc:watch\" \"es-dev-server --app-index index.html --node-resolve --open --watch\"",
to
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds --app-index index.html\""
because the --app-index index.htm
is no longer added by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.