28
loading...
This website collects cookies to deliver better user experience
npx @vendure/create my-shop
√ Which database are you using?
» SQLite
√ Which programming language will you be using?
» TypeScript
√ Populate with some sample product data?
» yes
√ What identifier do you want to use for the superadmin user?
» superadmin
√ What password do you want to use for the superadmin user?
» superadmin
Success! Created a new Vendure server at <path>/my-shop
We suggest that you start by typing:
cd my-shop
npm start
Happy hacking!
cd
into the newly-created directory and run npm start
. {
products(options: { take: 5 }) {
totalItems
items {
id
name
featuredAsset {
preview
}
}
}
}
ctrl/cmd + space
to get a list of available fields at any location.superadmin
, superadmin
. This will grant you access to the Vendure Admin UI - a full-featured interface for managing every aspect of your store.