open-wc
eleventy πβ‘οΈ
Our great sponsors
open-wc | eleventy πβ‘οΈ | |
---|---|---|
18 | 244 | |
2,207 | 16,213 | |
1.3% | 1.8% | |
8.3 | 9.3 | |
3 days ago | 1 day ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
open-wc
-
Testing Web Components with @web/test-runner
npm init @open-wc@latest Need to install the following packages: @open-wc/[email protected] Ok to proceed? (y) y _.,,,,,,,,,._ .d'' ``b. Open Web Components Recommendations .p' Open `q. .d' Web Components `b. Start or upgrade your web component project with .d' `b. ease. All our recommendations at your fingertips. :: ................. :: `p. .q' `p. open-wc.org .q' `b. @openWc .d' `q.. ..,' See more details at https://open-wc.org/init/ '',,,,,,,,,,'' Note: you can exit any time with Ctrl+C or Esc β What would you like to do today? βΊ Scaffold a new project β What would you like to scaffold? βΊ Web Component β What would you like to add? βΊ Testing (web-test-runner) β Would you like to use typescript? βΊ Yes β What is the tag name of your web component? β¦ testing-components ./ βββ testing-components/ β βββ .vscode/ β β βββ extensions.json β βββ demo/ β β βββ index.html β βββ src/ β β βββ index.ts β β βββ testing-components.ts β β βββ TestingComponents.ts β βββ test/ β β βββ testing-components.test.ts β βββ .editorconfig β βββ .gitignore β βββ LICENSE β βββ package.json β βββ README.md β βββ tsconfig.json β βββ web-dev-server.config.mjs β βββ web-test-runner.config.mjs β Do you want to write this file structure to disk? βΊ Yes Writing..... done β Do you want to install dependencies? βΊ Yes, with npm
-
Are web components still a thing?
Very much still a thing, https://open-wc.org/ is a good resource for examples and best practices.
-
Alternative to tailwind for Vite + Lit + Ts ?
I have this design system project for a company, I need to make web components and instead of using open-wc.org pre-built, I chose to go Vite.
-
How my Frontend skills helped me pass my sailing test
Nice. We have data with meaning. Now let's create the presentation layer (aka the UI!) and then let's add interactivity to the UI, so we can have feedback when actually simulating an exam (aka the Frontend!). Since in ING we are advocates of Web Components, I always wanted to give this stack a try for side projects. I jumped right into open-wc.org and used the npm generator. Everything worked precisely as expected. It was a breeze since my Chapter is using lit every. single. day. So I could finally get some mileage myself, in writing lit. At work, as a Chapter Lead, I prefer to spend my time more effectively for the team, rather than coding new features by myself; my chapter does it better anyway (#proud).
- Ask HN: What's is your go to toolset for simple front end development?
-
[AskJS] Looking for contributors for open source project / custom web element
I suggest following these best practices for creating a custom web element: https://open-wc.org/
- Open Web Components
- Open Web Components provides guides, tools, and libraries for developing web components
-
Start Using Web Components with open-wc
Open Web Components is a great tool for accessing open-source web components and is very easy to set up with their quickstart guide and easy to understand documentation.
-
Getting Started with Wireframes & Prototypes for Applications
This application is one of many applications out there that are dipping their toes in the land of web components. Web components are still very new and ever-growing. While I have been developing on HAX-the-Web, I am also the Project Manager for HAXCamp 2022. < hax-camp > is an unconference dedicated to all things Web Components!This year's event is being student-run and we anticipate there being discussions about openwc, lit, performance, element composition, css, hax.psu, pedagogy, and design systems. If this work flow is something that you are interested in, I would encourage signing up for this event. It is much more than this, larger than you know and a way to connect with students, faculty, staff, and professional in the industry.
eleventy πβ‘οΈ
-
Converting BlogCFC blog to Eleventy
This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.
-
Ask HN: What's the simplest static website generator?
I suggest you to try out eleventhy (https://www.11ty.dev/)
Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.
-
Eleventy - Create a global production flag
A production flag enables you to run activities in dev or production such as minifying assets, showing draft posts, etc. There isn't a built-in flag or function that comes with eleventy (11ty) specifically for this. However we have this info at our fingertips.
-
Ask HN: Looking for lightweight personal blogging platform
I can't recommend Eleventy enough!
https://www.11ty.dev
I converted my WordPress blog to Eleventy 4 years ago and never looked back, it's been delightful!
https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
-
Removing React is just weakness leaving your codebase
Itβs 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
VS Code - Fix a task automation issue - `The terminal process failed to launch (exit code: 127`
The "dev" script is running the eleventy server in dev mode. The details of the script are not important for this discussion, but to round out the background here is an abbreviated version of my package.json:
-
Eleventy vs. Next.js for static site generation
Eleventy is a fast and powerful SSG that really shines when it comes to pure static site generation because it does not require the loading of a client-side JavaScript bundle in order to serve content.
-
You don't need JavaScript for that
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
-
Why You Should Write Your Own Static Site Generator
https://doublejosh.com/post/186193119278/metalsmithjs-is-sti...
Then two years ago I needed a more robust SSR system based on React, so I went with GatsbyJS. It's insanely mature and intuitive, but as we all know that community and business is now drying up too. But the framework is still great.
Now everyone sings the praises of NextJS, which can be used for SSR but is intended for applications and active server endpoints. But more complexity doesn't mean better.
I'm keen to try other simple frameworks when the result is a static site. I may give https://www.11ty.dev a shot.
-
From Jason: my custom digital garden in 11ty
11ty is a lightweight static site generator. I chopped up my HTML and used the 11ty starter template called eleventy-base-blog as the structural foundation for the site.
What are some alternatives?
turborepo - Incremental bundler and build system optimized for JavaScriptΒ and TypeScript, written in Rust β including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
astro - The web framework for content-driven websites. βοΈ Star to support our work!
rocket - The modern web setup for static sites with a sprinkle of JavaScript
Hugo - The worldβs fastest framework for building websites.
web3-sign-msg - web3-sign-msg is a modern web component built with ficusjs to sign messages with your eth private key in Metamask
SvelteKit - web development, streamlined
web - Guides, tools and libraries for modern web development.
Gatsby - The best React-based framework with performance, scalability and security built in.
custom-elements-manifest - A file format for describing custom elements
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
ficusjs - FicusJS is a set of lightweight functions for developing applications using web components
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony