Skip to content

Commit

Permalink
added more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
the-r3aper7 committed Sep 18, 2023
1 parent 196b0b7 commit a330f9b
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 17 deletions.
32 changes: 32 additions & 0 deletions packages/docs/src/routes/docs/(qwik)/components/styles/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ yarn run qwik add styled-vanilla-extract
<span q:slot="pnpm">
```shell
pnpm run qwik add styled-vanilla-extract
```
</span>
<span q:slot="bun">
```shell
bun run qwik add styled-vanilla-extract
```
</span>
</PackageManagerTabs>
Expand Down Expand Up @@ -144,6 +149,11 @@ yarn run qwik add styled-vanilla-extract
<span q:slot="pnpm">
```shell
pnpm run qwik add styled-vanilla-extract
```
</span>
<span q:slot="bun">
```shell
bun run qwik add styled-vanilla-extract
```
</span>
</PackageManagerTabs>
Expand Down Expand Up @@ -306,6 +316,18 @@ pnpm add -D less

# .styl and .stylus
pnpm add -D stylus
```
</span>
<span q:slot="bun">
```shell
# .scss and .sass
bun add -D sass

# .less
bun add -D less

# .styl and .stylus
bun add -D stylus
```
</span>
</PackageManagerTabs>
Expand All @@ -331,6 +353,11 @@ yarn run qwik add tailwind
<span q:slot="pnpm">
```shell
pnpm run qwik add tailwind
```
</span>
<span q:slot="bun">
```shell
bun run qwik add tailwind
```
</span>
</PackageManagerTabs>
Expand All @@ -356,6 +383,11 @@ yarn run qwik add postcss
<span q:slot="pnpm">
```shell
pnpm run qwik add postcss
```
</span>
<span q:slot="bun">
```shell
bun run qwik add postcss
```
</span>
</PackageManagerTabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';

# AWS Adapter

Qwik City AWS Adapter allows you to connect Qwik City to [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html?icmpid=docs_lambda_hel).

## Installation

Expand Down
25 changes: 22 additions & 3 deletions packages/docs/src/routes/docs/deployments/azure-swa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,28 @@ There are three ways to deploy:

You can deploy your application from your local environment with:

```shell
npx swa deploy
```
<PackageManagerTabs>
<span q:slot="npm">
```shell
npx run deploy
```
</span>
<span q:slot="yarn">
```shell
yarn run deploy
```
</span>
<span q:slot="pnpm">
```shell
pnpm run deploy
```
</span>
<span q:slot="bun">
```shell
bun run deploy
```
</span>
</PackageManagerTabs>

This will start a wizard which will guide you through login and deployment to Azure.

Expand Down
12 changes: 3 additions & 9 deletions packages/docs/src/routes/docs/integrations/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,25 @@ Once you create a Qwik City application, run the following command to add new in
<PackageManagerTabs>
<span q:slot="npm">
```shell
npm create qwik@latest
npm run qwik add
```
</span>
<span q:slot="yarn">
```shell
npm run qwik add
yarn create qwik@latest
yarn run qwik add
```
</span>
<span q:slot="pnpm">
```shell
pnpm create qwik@latest
npm run qwik add
pnpm run qwik add
```
</span>
<span q:slot="bun">
```shell
bun create qwik@latest
npm run qwik add
bun run qwik add
```
</span>
</PackageManagerTabs>
```shell
```

It will prompt you to select the integration you want to add. Once you select an integration, it will be added to your application and you can start using it.

Expand Down
2 changes: 2 additions & 0 deletions packages/docs/src/routes/docs/integrations/nx/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ contributors:
- shairez
---

import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';

# Nx and enterprise scale monorepos

[Nx](https://nx.dev/) is a robust and extensible development platform designed to simplify the management
Expand Down
5 changes: 4 additions & 1 deletion packages/docs/src/routes/docs/integrations/orama/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';

Orama could be used in Qwik on the client side or on the server side with `routeLoader$`, `routeAction$` and `server$` functions.

The easiest way to add Orama to Qwik is using the `pnpm qwik add orama` command. This will install the required dependencies and create a new public route `/src/routes/orama` to showcase the Orama integration.
The easiest way to add Orama to Qwik is

<PackageManagerTabs>
<span q:slot="npm">
Expand All @@ -38,6 +38,9 @@ bun run qwik add orama
</span>
</PackageManagerTabs>

This will install the required dependencies and create a new public route `/src/routes/orama` to showcase the Orama integration.


> Orama has been designed to work on any runtime and has no dependencies. A JavaScript runtime is the only requirement.
For further reference, please check the [Orama documentation](https://docs.oramasearch.com/).
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ You can add Partytown easily by using the following Qwik starter script:
<PackageManagerTabs>
<span q:slot="npm">
```shell
npm create qwik@latest
npm run qwik add partytown
```
</span>
<span q:slot="yarn">
```shell
yarn create qwik@latest
yarn run qwik add partytown
```
</span>
<span q:slot="pnpm">
```shell
pnpm create qwik@latest
pnpm run qwik add partytown
```
</span>
<span q:slot="bun">
```shell
bun create qwik@latest
bun run qwik add partytown
```
</span>
</PackageManagerTabs>
Expand Down

0 comments on commit a330f9b

Please sign in to comment.