qwikdev / roadplan Goto Github PK
View Code? Open in Web Editor NEWAmazing and performant starter for documentation websites powered by Qwik
Home Page: https://roadplan.pages.dev/
Amazing and performant starter for documentation websites powered by Qwik
Home Page: https://roadplan.pages.dev/
I'd propose instead to make scroll behaviour smooth so you still get that when clicking the links in toc.
Let's start with a basic implementation and than we can iterate on it.
I would like to release this project as a npm package usable with the npm cli
e.g. npx roadplan@latest
So these are the steps
This article could be an help but you can find a lot of article for this topic.
We are using this function in the code --> import.meta.glob
and we have this warning in the console
The glob option "as" has been deprecated in favour of "query". Please update
as: 'raw'
toquery: '?raw', import: 'default'
We should update the functionality with the new Vite syntax
The starter doesn't come with a .gitignore out of the box
npx
command allows you to run an arbitrary command from an npm package (either one installed locally, or fetched remotely), in a similar context as running it via npm run.
Full docs here
npx @qwikdev/roadplan
and bunx @qwikdev/roadplan
are working fine.
we need to support other package manager too.
pnpm exec @qwikdev/roadplan
yarn create @qwikdev/roadplan
After installing a blank version of Roadplan when opening dev server I'm met with the following error stemming from the showcase component.
โ๏ธ Expect significant performance loss in development.
โ๏ธ Disabling the browser's cache results in waterfall requests.
10:12:31 PM [vite] warning: When referencing "Component" inside a different scope (useTask$), Qwik needs to serialize the value, however "Component.value" is a function, which is not serializable.
Check out https://qwik.builder.io/docs/advanced/dollar/ for more details.
Plugin: vite-plugin-qwik
File: src/components/Showcase/Showcase.tsx:40:7
38 | if (isDev) {
39 | componentRaw.value = await componentsRaw[snippetPath]();
40 | Component.value = await components[snippetPath]();
| ^
41 | } else {
42 | componentRaw.value = componentsRaw[snippetPath];
10:12:31 PM [vite] warning: When referencing "Component" inside a different scope (useTask$), Qwik needs to serialize the value, however "Component.value" is a function, which is not serializable.
Check out https://qwik.builder.io/docs/advanced/dollar/ for more details.
Plugin: vite-plugin-qwik
File: src/components/Showcase/Showcase.tsx:43:7
41 | } else {
42 | componentRaw.value = componentsRaw[snippetPath];
43 | Component.value = components[snippetPath];
| ^
44 | }
45 |
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.