diff --git a/site/content/docs/standard/getting-started/quick-start/index-ss.html b/site/content/docs/standard/getting-started/quick-start/index-ss.html index df4f2b7df..cb22b1861 100644 --- a/site/content/docs/standard/getting-started/quick-start/index-ss.html +++ b/site/content/docs/standard/getting-started/quick-start/index-ss.html @@ -8,4 +8,4 @@
  • MDB GO / CLI
  • Vite
  • CDN
  • -
  • Starter
  • +
  • Starter (.zip)
  • diff --git a/site/content/docs/standard/getting-started/quick-start/index.html b/site/content/docs/standard/getting-started/quick-start/index.html index 6b40f7904..85cb1868a 100644 --- a/site/content/docs/standard/getting-started/quick-start/index.html +++ b/site/content/docs/standard/getting-started/quick-start/index.html @@ -133,7 +133,7 @@

    About the initTE method

    --> -

    +

    1. Before starting the project make sure to install About the initTE method >.

    -

    2. Run the following command to install the package via NPM:

    +

    2. Run the following command to install the package via NPM:

    {{< twsnippet/wrapper "terminal" "" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm install tw-elements @@ -163,7 +163,7 @@

    About the initTE method

    content array with a js files pattern that loads dynamic component classes. The final version of the config file should look like this:

    -
    +
    {{< twsnippet/wrapper "tailwind.config.js" "" "mobile" >}}{{< twsnippet/code active=true lang="JavaScript" >}} module.exports = { @@ -222,14 +222,14 @@

    About the initTE method

    1. To start using MDB GO / CLI install it with one command:

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#BB2E3E] !text-white dark:!bg-rose-300 dark:!text-rose-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm install -g mdb-cli {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}}

    2. Log into the CLI using your MDB account:

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#4A24AA] !text-white dark:!bg-violet-300 dark:!text-violet-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} mdb login {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} @@ -239,7 +239,7 @@

    About the initTE method

    3. Initialize a project and choose Tailwind Elements from the list:

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#4A24AA] !text-white dark:!bg-violet-300 dark:!text-violet-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} mdb init tailwind-elements {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} @@ -248,21 +248,21 @@

    About the initTE method

    4. Install the dependencies (inside the project directory):

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#BB2E3E] !text-white dark:!bg-rose-300 dark:!text-rose-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm install {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}}

    5. Run the app:

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#BB2E3E] !text-white dark:!bg-rose-300 dark:!text-rose-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm start {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}}

    6. Publish when you're ready:

    -
    +
    {{< twsnippet/wrapper "terminal" "!bg-[#4A24AA] !text-white dark:!bg-violet-300 dark:!text-violet-900" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} mdb publish {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} @@ -300,7 +300,7 @@

    About the initTE method

    skip this step if you already have it installed.

    -
    +
    {{< twsnippet/wrapper "terminal" "" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm create vite@latest my-project @@ -314,7 +314,7 @@

    About the initTE method

    tailwind.config.cjs file.

    -
    +
    {{< twsnippet/wrapper "terminal" "" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm install -D tailwindcss postcss autoprefixer @@ -335,7 +335,7 @@

    About the initTE method

    inside the vite.config.js file.

    -
    +
    {{< twsnippet/wrapper "tailwind.config.cjs" "" "mobile" >}}{{< twsnippet/code active=true lang="JavaScript" >}} /** @type {import('tailwindcss').Config} */ @@ -359,7 +359,7 @@

    About the initTE method

    also remove the default content of the style.css file if you want.

    -
    +
    {{< twsnippet/wrapper "style.css" "" "mobile" >}}{{< twsnippet/code active=true lang="css" >}} @tailwind base; @@ -382,7 +382,7 @@

    About the initTE method

    5. Link the css file inside the index.html.

    -
    +
    {{< twsnippet/wrapper "index.html" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} ... @@ -398,7 +398,7 @@

    About the initTE method

    any styles if you deleted them from style.css).

    -
    +
    {{< twsnippet/wrapper "terminal" "" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm run dev @@ -407,7 +407,7 @@

    About the initTE method

    7. Install the tw-elements package.

    -
    +
    {{< twsnippet/wrapper "terminal" "" "mobile" >}}{{< twsnippet/code active=true lang="Plaintext" type="terminal" >}} npm install tw-elements @@ -420,7 +420,7 @@

    About the initTE method

    classes by adding the Tailwind Elements plugin.

    -
    +
    {{< twsnippet/wrapper "tailwind.config.cjs" "" "mobile" >}}{{< twsnippet/code active=true lang="js" >}} /** @type {import('tailwindcss').Config} */ @@ -452,7 +452,7 @@

    About the initTE method

    initTE({ Carousel, Datepicker, Select, Timepicker });
    -
    +
    {{< twsnippet/wrapper "index.html,main.js" "" "mobile" >}} {{< twsnippet/code active=true lang="html" >}} @@ -618,7 +618,7 @@
    Third slide label
    -->
    -
    +
    {{< twsnippet/wrapper "index.html" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} Third slide label Require the js bundled file right before the body closing tag. Use the UMD file if used without a bundler.

    -
    +
    {{< twsnippet/wrapper "index.html" >}}{{< twsnippet/code active=true lang="HTML" >}} {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} @@ -673,7 +673,7 @@
    Third slide label
    only a demo for testing.