-
DescriptionCould you please add build instructions for noobs. Browser/OS EnvironmentNot Browser/OS specific this the command s needed to run locally like what comes after npm run build script. is it node server.js? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We have a section on building in our quick start guide. It links out to lit.dev's modern build for production for a deeper dive on how to create a bundle JavaScript file. You can include that file with an HTML script tag, or elsewhere in your app's build system. Does that help out? |
Beta Was this translation helpful? Give feedback.
-
Thanks for response. I am asking how to build material-web.dev basically on localhost, there doesn't seem to be index.js or index.html like how does it know how to create the nav-drawer on the left etc. I am struggling to see how I can build locally and aspire to make a pull request contribution. I'm used to opensource being something someone can pull down locally and learn by tinkering, and everything needed to run just being a command in the package.json. This repo doesn't have a rollup.config.js, or index.js checked in, which is necessary in the documentation. |
Beta Was this translation helpful? Give feedback.
You can use the following command to run the catalog's dev server. You need to run the command while inside the
./catalog
directory.cd ./catalog npm start
We don't have docs on the catalog since the docs are for the components that folks can use in the library, not our catalog server which isn't published to npm.
The catalog's build files are located in the catalog folder (eleventy, esbuild, and firebase).