From 87c30ec2c57f2a80b57b92865cde0aa43c6247b9 Mon Sep 17 00:00:00 2001 From: John Knapp <1114452+johnknapp@users.noreply.github.com> Date: Wed, 19 May 2021 09:11:27 -0700 Subject: [PATCH] Mention the full package install strategy --- INSTALL.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 566d367cf..c7f46534f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -10,9 +10,13 @@ npm install --save @smui/card You can also [use SMUI in the Svelte REPL](REPL.md). -## Importing Components +## Option #1: Import the Entire Package -You will always import Svelte components from the individual packages. +Install all components with `npm install svelte-material-ui`. While this is easier than Option #2, your CSS build will be 10k-20k larger. + +## Option #2: Import Components Individually + +In this approach, you import Svelte components from the individual packages. This method will only include the JavaScript. Use this for the Default Theme or the [Easy Styling Method](SASS.md#easy-styling-method).