Comments (3)
Thanks for the issue. Sorry for not answering, I was busy with other things lately. Will update the npm scripts soon.
from api-viewer-element.
might be worth moving to wireit after google/wireit#33 lands
from api-viewer-element.
Okay, I got it.
I forgot to mention the most important thing, I work on Windows.
I changed the tsc-watch
command to tsc --build --watch
in the watch task and it works perfectly.
https://www.typescriptlang.org/docs/handbook/project-references.html#build-mode-for-typescript
Other issues I have faced:
The web dev server refuses the connection when I start it with the dev
task. I changed the script to:
"dev": "concurrently \"npm run watch\" \"npm run serve\" --names=\"tsc,server\""
I had to replace single quotes to escaped double quotes in the analyze task of the fixtures/lit package:
"analyze": "cem analyze --litelement --globs \"src/*.ts\""
I'm happy to open a PR for this if you need it.
from api-viewer-element.
Related Issues (20)
- Error: UNKNOWN_VALUE: Unknown value: CustomElement.js HOT 3
- Custom elements without exports are not recognized HOT 12
- Support `deprecated` flag
- Distinguish between static properties and instance properties
- CDN errors HOT 5
- Update marked to v1.0.0 HOT 2
- Demo: shadow parts & slots inspector HOT 2
- Providing shadow part styles to template HOT 3
- Initialize demo imperatively, with code
- How to document methods and method arguments? HOT 6
- Add online playground to demo HOT 1
- cssProperties ignore custom ordering in its JSON value array HOT 1
- Support for Custom Elements Manifest 1.0.0? HOT 2
- Exclude attributes managed by the component itself from the demo snippet HOT 3
- feat: setting manifest with json script
- refactor: separate knobs from manifest
- refactor: state management
- Make it possible to pass complex properties (objects, arrays) to element HOT 1
- Support for lit 2 components HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-viewer-element.