-
Notifications
You must be signed in to change notification settings - Fork 137
[ADD] local installation commands #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -79,6 +79,34 @@ module.exports = { | |||||||||||||||||||||||
}; | ||||||||||||||||||||||||
``` | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Run locally | ||||||||||||||||||||||||
If you want to work on the library itself or preview the documentation on your machine, follow these steps: | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
# 1. Clone the repository | ||||||||||||||||||||||||
git clone https://github.com/themesberg/flowbite-vue.git | ||||||||||||||||||||||||
cd flowbite-vue | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
# 2. Install dependencies (requires Node.js 18+ and npm 10+) | ||||||||||||||||||||||||
npm install | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
# 3. Start the VitePress development server | ||||||||||||||||||||||||
npm run dev | ||||||||||||||||||||||||
After the server starts, open the URL shown in the terminal (usually http://localhost:5173) to view the documentation site. | ||||||||||||||||||||||||
Comment on lines
+89
to
+98
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Wrap shell commands in fenced code blocks and avoid bare URLs. Without back-ticks the hash-prefixed lines render as headings, the commands aren’t copy-paste-friendly, and markdown-lint flags the bare URL (MD034). -# 1. Clone the repository
-git clone https://github.com/themesberg/flowbite-vue.git
-cd flowbite-vue
-
-# 2. Install dependencies (requires Node.js 18+ and npm 10+)
-npm install
-
-# 3. Start the VitePress development server
-npm run dev
-After the server starts, open the URL shown in the terminal (usually http://localhost:5173) to view the documentation site.
+# 1. Clone the repository
+```bash
+git clone https://github.com/themesberg/flowbite-vue.git
+cd flowbite-vue
+```
+
+# 2. Install dependencies (requires Node.js 18+ and npm 10+)
+```bash
+npm install
+```
+
+# 3. Start the VitePress development server
+```bash
+npm run dev
+```
+
+After the server starts, open the URL shown in the terminal (usually <http://localhost:5173>) to view the documentation site. 🧰 Tools🪛 markdownlint-cli2 (0.17.2)90-90: Bare URL used (MD034, no-bare-urls) 98-98: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Common additional commands: | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
Purpose Command | ||||||||||||||||||||||||
Build documentation site npm run build | ||||||||||||||||||||||||
Run unit tests npm run test | ||||||||||||||||||||||||
Lint and fix files npm run lint-fix | ||||||||||||||||||||||||
Clear build and cache artifacts npm run clear | ||||||||||||||||||||||||
Comment on lines
+102
to
+106
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Replace the tab-separated list with a Markdown table to satisfy MD010 and improve readability. Hard tabs trigger markdown-lint (MD010) and the current layout collapses on small screens. -Purpose Command
-Build documentation site npm run build
-Run unit tests npm run test
-Lint and fix files npm run lint-fix
-Clear build and cache artifacts npm run clear
+| Purpose | Command |
+|---------------------------------|-------------------|
+| Build documentation site | `npm run build` |
+| Run unit tests | `npm run test` |
+| Lint and fix files | `npm run lint-fix`|
+| Clear build and cache artifacts | `npm run clear` | 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)102-102: Hard tabs (MD010, no-hard-tabs) 103-103: Hard tabs (MD010, no-hard-tabs) 104-104: Hard tabs (MD010, no-hard-tabs) 105-105: Hard tabs (MD010, no-hard-tabs) 106-106: Hard tabs (MD010, no-hard-tabs) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
## Components | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
<table> | ||||||||||||||||||||||||
|
@@ -382,4 +410,4 @@ If you need the Figma files for the components you can check out our website for | |||||||||||||||||||||||
|
||||||||||||||||||||||||
The Flowbite name and logos are trademarks of Crafty Dwarf Inc. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
📝 [Read about the licensing terms](https://flowbite.com/getting-started/license/) | ||||||||||||||||||||||||
📝 [Read about the licensing terms](https://flowbite.com/getting-started/license/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Use a proper Markdown heading for discoverability and TOC generation.
Plain text
"Run locally"
won’t be picked up by most Markdown tooling, including the auto-generated TOC at the top of this file. Promote it to a second-level heading.📝 Committable suggestion
🤖 Prompt for AI Agents