First, run npm install
to install all dependencies.
Then, run npm run dev
to run this project in development mode. Run
npm run storybook
to run Storybook, which demonstrates how components can be
used.
To automatically benefit from the code quality tools that are included with this project, use an editor (such as Visual Studio Code) with plugins for EditorConfig, ESLint, Prettier, and Svelte.
When installed correctly, these plugins will warn you when your code contains potential problems or when it's formatted inconsistently. If you choose to, you can also configure your editor to automatically format files with Prettier upon save.
Even with these plugins, you may want to run npm run format
and npm test
before sharing your code to be sure that you didn't miss anything. Also, be
aware that Prettier and its plugins can rarely break existing code. You may want
to double-check that everything works after running npm run format
just in
case.
As for development, run npm install
to install all dependencies.
Then, run npm run build
to build this project for production deployment. After
it's built, host the public directory on a static server or use npm start
to
serve it with Node.