basklee-nuxt 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -35
- package/bin/basklee-nuxt.mjs +4 -4
- package/package.json +2 -2
- package/src/install.mjs +4 -4
- package/src/project-readme.mjs +25 -25
- package/templates/app/components/basklee/account/AccountActivity.README.md +2 -2
- package/templates/app/components/basklee/account/AccountPromocodes.README.md +2 -2
- package/templates/app/components/basklee/account/AccountSection.README.md +2 -2
- package/templates/app/components/basklee/account/SignInHistory.README.md +2 -2
- package/templates/app/components/basklee/account/StorefrontLogout.README.md +2 -2
- package/templates/app/components/basklee/account/StorefrontProfile.README.md +10 -10
- package/templates/app/components/basklee/address/AddressForm.README.md +2 -2
- package/templates/app/components/basklee/address/StorefrontAddresses.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogArticle.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogCommentForm.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogComments.README.md +2 -2
- package/templates/app/components/basklee/blog/StorefrontJournal.README.md +2 -2
- package/templates/app/components/basklee/cart/CartCheckoutDetails.README.md +2 -2
- package/templates/app/components/basklee/cart/CartDeliverySelector.README.md +3 -3
- package/templates/app/components/basklee/cart/CartItemOptions.README.md +3 -3
- package/templates/app/components/basklee/cart/CartLineItem.README.md +3 -3
- package/templates/app/components/basklee/cart/CartPreview.README.md +2 -2
- package/templates/app/components/basklee/cart/DeliveryMap.README.md +2 -2
- package/templates/app/components/basklee/cart/StorefrontCart.README.md +2 -2
- package/templates/app/components/basklee/catalog/StorefrontCatalog.README.md +2 -2
- package/templates/app/components/basklee/categories/StorefrontCategory.README.md +2 -2
- package/templates/app/components/basklee/contact/AboutPage.README.md +2 -2
- package/templates/app/components/basklee/contact/ContactForm.README.md +2 -2
- package/templates/app/components/basklee/contact/EmailUnsubscribe.README.md +2 -2
- package/templates/app/components/basklee/contact/StorefrontContact.README.md +2 -2
- package/templates/app/components/basklee/events/EventEnrollmentDialog.README.md +2 -2
- package/templates/app/components/basklee/legal/CookieNotice.README.md +2 -2
- package/templates/app/components/basklee/legal/StorefrontPrivacy.README.md +2 -2
- package/templates/app/components/basklee/manufacturers/ManufacturerIndex.README.md +2 -2
- package/templates/app/components/basklee/manufacturers/StorefrontManufacturers.README.md +2 -2
- package/templates/app/components/basklee/orders/OrderDetails.README.md +2 -2
- package/templates/app/components/basklee/orders/OrderPaymentForm.README.md +3 -3
- package/templates/app/components/basklee/orders/StorefrontOrders.README.md +2 -2
- package/templates/app/components/basklee/payments/PaymentPanel.README.md +3 -3
- package/templates/app/components/basklee/products/ProductCard.README.md +2 -2
- package/templates/app/components/basklee/products/ProductCardActions.README.md +2 -2
- package/templates/app/components/basklee/products/ProductPreorderDialog.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewForm.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewGallery.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewImageViewer.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviews.README.md +2 -2
- package/templates/app/components/basklee/products/ProductSpecificationsDialog.README.md +2 -2
- package/templates/app/components/basklee/products/StorefrontProduct.README.md +2 -2
- package/templates/app/components/basklee/products/StorefrontWishlist.README.md +2 -2
- package/templates/app/components/basklee/promo/PromoProducts.README.md +2 -2
- package/templates/app/components/basklee/search/ProductSearchResults.README.md +2 -2
- package/templates/app/components/basklee/sellers/SellerFilters.README.md +2 -2
- package/templates/app/components/basklee/sellers/SellerPhotoGallery.README.md +2 -2
- package/templates/app/components/basklee/sellers/SellerSummary.README.md +2 -2
- package/templates/app/components/basklee/sellers/StorefrontSellers.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeAvatar.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeBreadcrumbs.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeEmptyState.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeInfoHint.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleePasswordInput.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeSearchSelect.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeSelect.README.md +2 -2
- package/templates/app/components/basklee/shared/StorefrontErrorPage.README.md +2 -2
- package/templates/app/components/basklee/shared/StorefrontPagination.README.md +2 -2
- package/templates/app/components/basklee/storefront/StorefrontAccount.README.md +1 -1
- package/templates/app/components/basklee/storefront/StorefrontFooter.README.md +4 -4
- package/templates/app/components/basklee/storefront/StorefrontHome.README.md +5 -5
- package/templates/app/components/basklee/stores/StorefrontStores.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/StorefrontSubscriptions.README.md +3 -3
- package/templates/app/components/basklee/subscriptions/StorefrontTariff.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/StorefrontTariffs.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/SubscriptionCancelDialog.README.md +4 -4
- package/templates/app/components/basklee/subscriptions/SubscriptionChangeDialog.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionExtendDialog.README.md +4 -4
- package/templates/app/components/basklee/subscriptions/SubscriptionPlanSummary.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionRemoteDetails.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionRenewalDialog.README.md +5 -5
- package/templates/app/components/basklee/support/StorefrontSupport.README.md +2 -2
- package/templates/app/components/basklee/support/TicketConversation.README.md +2 -2
- package/templates/app/components/basklee/support/TicketImage.README.md +2 -2
- package/templates/app/components/basklee/support/TicketItemCard.README.md +2 -2
- package/templates/app/components/basklee/support/TicketMessageForm.README.md +2 -2
- package/templates/app/components/basklee/support/TicketSubscriptionCard.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCard.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardDescription.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardFeatures.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardImage.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardPrices.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardTitle.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCards.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffSubscriptionModal.README.md +2 -2
- package/templates/app/components/basklee/wallet/StorefrontWallet.README.md +3 -3
- package/templates/app/components/basklee/wallet/WalletTopUpForm.README.md +2 -2
- package/templates/basklee/COMPONENTS.md +58 -58
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ dialog, opens the previous page, or leaves the app on the first page. With
|
|
|
39
39
|
`@capacitor/filesystem` and `@capacitor/share`, a purchased file is saved in
|
|
40
40
|
the app and opened from the Android share sheet. Without
|
|
41
41
|
the variable nothing changes. Setup, build and release steps:
|
|
42
|
-
[Android app guide](https://
|
|
42
|
+
[Android app guide](https://basklee.com/en/sandbox/android-app).
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
45
|
BASKLEE_APP_ORIGIN=https://shop.example.com npx nuxt generate
|
|
@@ -60,7 +60,7 @@ page and add secondary images after hover or keyboard focus.
|
|
|
60
60
|
## Quick start from zero
|
|
61
61
|
|
|
62
62
|
Your personal backend domain is already provided in your account at
|
|
63
|
-
[
|
|
63
|
+
[basklee.com](https://basklee.com). You can change it there.
|
|
64
64
|
Replace `your-project.orionplace.app` below with that domain and
|
|
65
65
|
`shop.example.com` with the public domain of your own storefront.
|
|
66
66
|
With Node.js 22.12+ and npm installed, run this from the parent folder;
|
|
@@ -356,10 +356,10 @@ storefront on your server; see [Install on your server](#install-on-your-server)
|
|
|
356
356
|
|
|
357
357
|
Prepare a Linux server once with the Basklee server script: it installs
|
|
358
358
|
Node.js, nginx and certbot and adds the `basklee` command
|
|
359
|
-
([server guide](https://
|
|
359
|
+
([server guide](https://basklee.com/en/sandbox/install)).
|
|
360
360
|
|
|
361
361
|
```bash
|
|
362
|
-
curl -fsSLo basklee.sh https://
|
|
362
|
+
curl -fsSLo basklee.sh https://basklee.com/downloads/basklee.sh
|
|
363
363
|
sudo sh basklee.sh setup
|
|
364
364
|
```
|
|
365
365
|
|
|
@@ -380,7 +380,7 @@ certificate. Run it again after code or package updates; the service keeps its
|
|
|
380
380
|
port. Options: `--name <service>`, `--port <port>`, `--user <user>`,
|
|
381
381
|
`--no-build` (install the build already in the folder), `--no-domains`, `--yes`,
|
|
382
382
|
`--dry-run`. Full guide:
|
|
383
|
-
[Install a storefront](https://
|
|
383
|
+
[Install a storefront](https://basklee.com/en/sandbox/install/storefront).
|
|
384
384
|
|
|
385
385
|
### Manage the service
|
|
386
386
|
|
|
@@ -515,10 +515,10 @@ List pages (journal, categories, stores) link their previous and next pages as r
|
|
|
515
515
|
|
|
516
516
|
## Documentation
|
|
517
517
|
|
|
518
|
-
- [Create a Nuxt frontend](https://
|
|
519
|
-
- [Install the Nuxt package and connect your personal backend](https://
|
|
520
|
-
- [Marketplace API documentation](https://
|
|
521
|
-
- [Android app for your Nuxt storefront](https://
|
|
518
|
+
- [Create a Nuxt frontend](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
519
|
+
- [Install the Nuxt package and connect your personal backend](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
520
|
+
- [Marketplace API documentation](https://basklee.com/en/sandbox/)
|
|
521
|
+
- [Android app for your Nuxt storefront](https://basklee.com/en/sandbox/android-app)
|
|
522
522
|
|
|
523
523
|
## Development
|
|
524
524
|
|
|
@@ -559,7 +559,7 @@ Catalog, other statuses show “Something went wrong” with Retry and Home. Pag
|
|
|
559
559
|
use `noindex, nofollow`; customers never see error messages or stack traces.
|
|
560
560
|
The not-found page keeps the header and footer when Application Load succeeded;
|
|
561
561
|
otherwise, and for failures, it renders without the layout. See the
|
|
562
|
-
[error page guide](https://
|
|
562
|
+
[error page guide](https://basklee.com/en/sandbox/components/nuxt/error-page).
|
|
563
563
|
`/product/:id`, `/tariffs/:slug/:id`, `/category/:id`, `/browse`, `/featured`,
|
|
564
564
|
`/journal` and `/journal/:id` load their first data while the server renders
|
|
565
565
|
the page, with
|
|
@@ -592,7 +592,7 @@ wallet balance. Its `signIn`, `signOut`, `selectProfile` and `selectWallet` even
|
|
|
592
592
|
by the host; the generated layout opens `/profile` for sign-in (with the current
|
|
593
593
|
page in `redirect`, where the user returns after sign-in) and profile
|
|
594
594
|
selection, `/logout` for sign-out and `/wallet` for wallet selection. The component does not
|
|
595
|
-
submit credentials or create payments. Its [EN/RU preview and source downloads](https://
|
|
595
|
+
submit credentials or create payments. Its [EN/RU preview and source downloads](https://basklee.com/en/sandbox/appload/nuxt/init/is_authenticated)
|
|
596
596
|
share the maintained package component. `StorefrontWishlistButton` and
|
|
597
597
|
`StorefrontCartButton` display counts from `store.counters`. Their clicks emit
|
|
598
598
|
`selectWishlist` and `selectCart` through the header without changing data;
|
|
@@ -624,10 +624,10 @@ index beside the journal. The page renders `StorefrontManufacturers`, which load
|
|
|
624
624
|
the index itself. Letter and manufacturer selections are `ManufacturerIndex`
|
|
625
625
|
events; `StorefrontManufacturers` handles them by loading that letter's or that
|
|
626
626
|
manufacturer's records through `manufactures_manufactures_get`. See the
|
|
627
|
-
[component reference](https://
|
|
627
|
+
[component reference](https://basklee.com/en/sandbox/components/nuxt/manufacturer-index)
|
|
628
628
|
for its contract, live preview and source downloads.
|
|
629
629
|
|
|
630
|
-
The website [Components section](https://
|
|
630
|
+
The website [Components section](https://basklee.com/en/sandbox/components/nuxt)
|
|
631
631
|
sits beside Application Load and documents Header with its child components,
|
|
632
632
|
plus ProductGroup, ProductCard and its parts. Both English and Russian guides provide live
|
|
633
633
|
previews, contracts and physical source downloads.
|
|
@@ -638,7 +638,7 @@ initialization field to its consumers. Configuration, session flags and shared
|
|
|
638
638
|
counters have data references with links to the features that use them.
|
|
639
639
|
The catalog is also installed as `basklee/COMPONENTS.md`.
|
|
640
640
|
|
|
641
|
-
The [Application Load sandbox](https://
|
|
641
|
+
The [Application Load sandbox](https://basklee.com/en/sandbox/appload/nuxt) renders
|
|
642
642
|
these physical components and lets you edit their input locally. Component
|
|
643
643
|
selections emit events; account, cart and subscription requests remain the host
|
|
644
644
|
application's responsibility.
|
|
@@ -673,7 +673,7 @@ It includes theme variables and utilities without a global CSS reset, preserving
|
|
|
673
673
|
your application's base styles. An existing Tailwind Vite plugin is reused.
|
|
674
674
|
It requires no Sass or translation plugin. Keyboard focus changes the existing border and background;
|
|
675
675
|
controls do not use outlines. The
|
|
676
|
-
[locale sandbox](https://
|
|
676
|
+
[locale sandbox](https://basklee.com/en/sandbox/appload/nuxt/init/locale)
|
|
677
677
|
previews the same component and provides its source and locale types.
|
|
678
678
|
|
|
679
679
|
### Themes
|
|
@@ -722,7 +722,7 @@ reloads for the guest session. The failed request is not repeated and no
|
|
|
722
722
|
sign-in dialog opens; a guest `401`, `403`, CSRF rejection or network failure
|
|
723
723
|
stays an ordinary request error.
|
|
724
724
|
|
|
725
|
-
See the [cookie lifecycle and browser example](https://
|
|
725
|
+
See the [cookie lifecycle and browser example](https://basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
726
726
|
for exact source references and a copyable component.
|
|
727
727
|
|
|
728
728
|
## Update an existing project
|
|
@@ -847,7 +847,7 @@ If AppLoad has no new products, the generated home page uses
|
|
|
847
847
|
`store.setHomeNewProducts(products, sellers)` stores the confirmed products and IDs.
|
|
848
848
|
A failed request can be retried explicitly. AppLoad refresh/reset clears the
|
|
849
849
|
supplemental IDs and cancels stale results. The home component itself does not
|
|
850
|
-
request products. The [Home guide](https://
|
|
850
|
+
request products. The [Home guide](https://basklee.com/en/sandbox/components/nuxt/home#groups)
|
|
851
851
|
documents the rules and lets readers edit existing products in its preview.
|
|
852
852
|
|
|
853
853
|
`productLimit` defaults to 12 per section. More reveals the rest of the
|
|
@@ -887,26 +887,26 @@ slot receives `section`, `productIds`, `collection`, `disabled` and the current
|
|
|
887
887
|
`limit`; preserve `productIds` to retain each section’s grouping. The other slots
|
|
888
888
|
receive no props. Slots render only when their section has data. Replacement
|
|
889
889
|
content owns its event bindings. Source and child guides are under
|
|
890
|
-
[Storefront home](https://
|
|
891
|
-
[Categories](https://
|
|
892
|
-
[Banners](https://
|
|
893
|
-
[Events](https://
|
|
890
|
+
[Storefront home](https://basklee.com/en/sandbox/components/nuxt/home),
|
|
891
|
+
[Categories](https://basklee.com/en/sandbox/components/nuxt/categories),
|
|
892
|
+
[Banners](https://basklee.com/en/sandbox/components/nuxt/banners) and
|
|
893
|
+
[Events](https://basklee.com/en/sandbox/components/nuxt/events), with matching
|
|
894
894
|
Russian routes. They show the physical components in their parent with dashed
|
|
895
895
|
highlights and link back to Application Load.
|
|
896
896
|
|
|
897
897
|
### Visual settings, search filters and blog previews
|
|
898
898
|
|
|
899
|
-
[Visual settings](https://
|
|
899
|
+
[Visual settings](https://basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
900
900
|
are consumed by the supplied Nuxt components:
|
|
901
901
|
|
|
902
|
-
- [CatalogHeader](https://
|
|
902
|
+
- [CatalogHeader](https://basklee.com/en/sandbox/components/nuxt/catalog)
|
|
903
903
|
uses `menu_image` for shortcut thumbnails and `catalog_menu_image` inside its catalog panel.
|
|
904
|
-
- [ProductGroup](https://
|
|
904
|
+
- [ProductGroup](https://basklee.com/en/sandbox/components/nuxt/product-group)
|
|
905
905
|
becomes a swipeable row on a narrow screen. `mobile_show_arrows` controls its previous/next
|
|
906
906
|
buttons when the row overflows. Desktop grids and promotion carousels are unaffected.
|
|
907
907
|
Optional `productIds` resolves an ordered set through `productStore.getProduct`; an omitted
|
|
908
908
|
value uses the AppLoad collection, and an empty array displays no cards.
|
|
909
|
-
- [SearchFilters](https://
|
|
909
|
+
- [SearchFilters](https://basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
910
910
|
uses `show_filter_counters` for counts supplied in `selects` and `variants`.
|
|
911
911
|
`browseStore.preserveSearchFacets(page_data)` retains the initial options and price
|
|
912
912
|
bounds from `products_search`; `browseStore.setSearchFacets` explicitly replaces them
|
|
@@ -915,14 +915,14 @@ are consumed by the supplied Nuxt components:
|
|
|
915
915
|
update products, leaving the original selectors available. `disabled` prevents
|
|
916
916
|
selection; there are no slots.
|
|
917
917
|
- `single_seller_mode` hides
|
|
918
|
-
[ProductCardSeller](https://
|
|
918
|
+
[ProductCardSeller](https://basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
919
919
|
and seller filters; manufacturer options remain visible.
|
|
920
|
-
- [BlogPostGroup](https://
|
|
920
|
+
- [BlogPostGroup](https://basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
921
921
|
`blog_view_type`: `EBlogViewType.PORTRAIT` is a grid, `EBlogViewType.LIST` is a list,
|
|
922
922
|
and `EBlogViewType.CUSTOM` starts with a lead card, followed by groups of up to
|
|
923
923
|
three posts. Unknown values fall back to portrait; numeric strings are accepted.
|
|
924
924
|
`store.setBlogPosts(page_data.posts.data)` supplies previews from `blog_posts_get`.
|
|
925
|
-
[BlogPostCard](https://
|
|
925
|
+
[BlogPostCard](https://basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
926
926
|
`postId` and `layout` (portrait by default, list or hero), reads the post from
|
|
927
927
|
the store, and shows its localized title, plain-text preview, first ordered image
|
|
928
928
|
and reading time. The group forwards its `select` event with `IBlogPostPreview`.
|
|
@@ -978,7 +978,7 @@ The category uses `grid`, which stays a vertical grid on a narrow screen and
|
|
|
978
978
|
shows no horizontal scroll arrows. Filters collapse behind a button in a narrow
|
|
979
979
|
result container; category navigation remains available while products load.
|
|
980
980
|
|
|
981
|
-
The [Category page guide](https://
|
|
981
|
+
The [Category page guide](https://basklee.com/en/sandbox/components/nuxt/category-page)
|
|
982
982
|
contains the physical composition, dashed child boundaries, local preview
|
|
983
983
|
controls, field/input/event contracts and exact component/interface downloads.
|
|
984
984
|
The matching Russian guide uses `/ru/sandbox/components/nuxt/category-page`.
|
|
@@ -986,7 +986,7 @@ The matching Russian guide uses `/ru/sandbox/components/nuxt/category-page`.
|
|
|
986
986
|
|
|
987
987
|
## Search, logout and preorder flows
|
|
988
988
|
|
|
989
|
-
The [search results component](https://
|
|
989
|
+
The [search results component](https://basklee.com/en/sandbox/components/nuxt/search-results)
|
|
990
990
|
serves `/browse?q=...` and the category result area. It renders initial loading
|
|
991
991
|
placeholders, a recoverable empty result, error/retry, totals and pagination.
|
|
992
992
|
Changing the URL query starts a fresh search, including changes on an already
|
|
@@ -1070,7 +1070,7 @@ counts describe the initial scope, not the narrowed result. Product grids use
|
|
|
1070
1070
|
fewer columns as the container narrows. Mobile home
|
|
1071
1071
|
rows retain their existing swipe behavior.
|
|
1072
1072
|
|
|
1073
|
-
The [preorder dialog](https://
|
|
1073
|
+
The [preorder dialog](https://basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
1074
1074
|
is `app/components/basklee/products/ProductPreorderDialog.vue`, nested under
|
|
1075
1075
|
Product actions in Components. The default layout opens it for the card's
|
|
1076
1076
|
`preorder` event. It shows the product and price; guests provide email or phone.
|
|
@@ -1080,7 +1080,7 @@ Pending requests disable resubmission and dismissal. Errors remain by the form.
|
|
|
1080
1080
|
`modal` defaults to true; false renders the same dialog within its container.
|
|
1081
1081
|
Both storefront and documentation product previews use this physical component.
|
|
1082
1082
|
|
|
1083
|
-
The [sign-out component](https://
|
|
1083
|
+
The [sign-out component](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
1084
1084
|
is `app/components/basklee/account/StorefrontLogout.vue`, under Profile menu.
|
|
1085
1085
|
The default layout opens `/logout` after `signOut`. The route shows progress,
|
|
1086
1086
|
uses `profile_logout` through the shared API client after mounting, refreshes
|
|
@@ -1102,8 +1102,8 @@ phone sign-in/registration and navigation to `/logout`. Account requests use the
|
|
|
1102
1102
|
shared named API client, which sends the selected storefront language as `lang`;
|
|
1103
1103
|
registration saves it as the account's initial email-notification language.
|
|
1104
1104
|
Avatar upload uses multipart. Data changes only after confirmation. See the
|
|
1105
|
-
[profile guide](https://
|
|
1106
|
-
and its [Russian version](https://
|
|
1105
|
+
[profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
1106
|
+
and its [Russian version](https://basklee.com/ru/sandbox/components/nuxt/profile).
|
|
1107
1107
|
|
|
1108
1108
|
The sign-in and registration form (`ProfileSignIn`) appears only on the
|
|
1109
1109
|
`/profile` page. Header Login links there. A guest's click on an action that
|
|
@@ -1143,7 +1143,7 @@ the top loading bar from `app/app.vue` and a visually hidden `role="status"`
|
|
|
1143
1143
|
message instead of a status strip. Field errors stay as red text beside their inputs. Required fields show a
|
|
1144
1144
|
red `*` directly after the label text.
|
|
1145
1145
|
|
|
1146
|
-
The default layout renders the [footer](https://
|
|
1146
|
+
The default layout renders the [footer](https://basklee.com/en/sandbox/components/nuxt/footer)
|
|
1147
1147
|
with real store categories, home-section anchors, profile/journal navigation,
|
|
1148
1148
|
a contact-page link, a `/privacy` link and social links. On `/contact`, `StorefrontContact` places
|
|
1149
1149
|
company details (address, `tel:` phone link, registration numbers with copy
|
package/bin/basklee-nuxt.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { setupProject } from '../src/setup.mjs';
|
|
3
3
|
import { updateProject } from '../src/update.mjs';
|
|
4
|
-
import { installService } from '../src/install.mjs';
|
|
4
|
+
import { installService, serverName } from '../src/install.mjs';
|
|
5
5
|
import { SERVICE_ACTIONS, SERVICE_ALIASES, controlService, findApp, printService } from '../src/service.mjs';
|
|
6
6
|
import { sitemapCommand } from '../src/sitemap.mjs';
|
|
7
7
|
import { readFile } from 'node:fs/promises';
|
|
@@ -18,7 +18,7 @@ From zero (Node.js 22.12+ with npm; run from the parent folder):
|
|
|
18
18
|
npx basklee-nuxt add frontend shop.example.com
|
|
19
19
|
npm run dev
|
|
20
20
|
|
|
21
|
-
Replace the backend with the domain from your
|
|
21
|
+
Replace the backend with the domain from your basklee.com profile,
|
|
22
22
|
and the frontend with your storefront domain. Open Nuxt's local URL;
|
|
23
23
|
the storefront opens after Application Load succeeds.
|
|
24
24
|
|
|
@@ -40,7 +40,7 @@ On your Linux server (run from the project root):
|
|
|
40
40
|
Builds the storefront, installs it as a system service (systemd or OpenRC)
|
|
41
41
|
and, when the basklee server tool is set up, connects its domains with
|
|
42
42
|
nginx and HTTPS. Run it again after changes or an update to rebuild and restart.
|
|
43
|
-
Server tool: https://
|
|
43
|
+
Server tool: https://basklee.com/downloads/basklee.sh
|
|
44
44
|
|
|
45
45
|
Manage the installed service (from the project root, or name it with --name):
|
|
46
46
|
npx basklee-nuxt status service, autostart, port and home page answer
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
console.log(`Domains: ${done.frontends.join(', ') || 'none yet'} -> ${done.backend || 'no backend yet'}`);
|
|
113
113
|
console.log(`\n${done.unitPath}:\n${done.unit}`);
|
|
114
114
|
} else {
|
|
115
|
-
console.log(`\nInstalled
|
|
115
|
+
console.log(`\nInstalled ${serverName}-${done.name} (port ${done.port}, user ${done.user}).`);
|
|
116
116
|
for (const domain of done.frontends) {
|
|
117
117
|
if (!install.domains) console.log(` - ${domain}: not connected (--no-domains)`);
|
|
118
118
|
else if (!done.connected) console.log(` - ${domain}: not connected to nginx (see above)`);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basklee-nuxt",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Nuxt 4 storefront for your Basklee marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English, Russian and Spanish, plus an Android app build.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Basklee",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://basklee.com/en/sandbox/new-project/nuxt",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"nuxt",
|
|
11
11
|
"nuxt4",
|
package/src/install.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Installs the built storefront as a system service on a Linux server and
|
|
2
2
|
// connects its domains through the "basklee" server tool
|
|
3
|
-
// (https://
|
|
3
|
+
// (https://basklee.com/downloads/basklee.sh) when that tool is set up.
|
|
4
4
|
import { spawn } from 'node:child_process';
|
|
5
5
|
import { mkdir, readFile, readdir, rename, stat, writeFile } from 'node:fs/promises';
|
|
6
6
|
import { existsSync } from 'node:fs';
|
|
@@ -214,7 +214,7 @@ async function ensureDomains(root, { yes }) {
|
|
|
214
214
|
const ask = process.stdin.isTTY && !yes;
|
|
215
215
|
if (!settings.backend) {
|
|
216
216
|
if (!ask) throw new Error(`Set the personal backend first: npx basklee-${framework.id} set backend my-shop.orionplace.app`);
|
|
217
|
-
log('Your personal backend is shown in your
|
|
217
|
+
log('Your personal backend is shown in your basklee.com profile, for example my-shop.orionplace.app.');
|
|
218
218
|
await setupProject({ cwd: root, field: 'backend', value: await prompt('Personal backend domain: ') });
|
|
219
219
|
settings = await read();
|
|
220
220
|
}
|
|
@@ -324,7 +324,7 @@ export async function installService({
|
|
|
324
324
|
const owned = await run('chown', ['-R', `${account.uid}:${account.gid}`, root], { capture: true });
|
|
325
325
|
if (owned.code) throw new Error(`Could not give ${root} to ${account.name}:\n${owned.output}`);
|
|
326
326
|
|
|
327
|
-
log(`\n==> Installing the service
|
|
327
|
+
log(`\n==> Installing the service ${serverName}-${service} on port ${chosen}`);
|
|
328
328
|
await writeAtomic(unitPath, unit, systemd ? 0o644 : 0o755);
|
|
329
329
|
await writeAtomic(join(paths.etc, 'apps', `${service}.conf`), conf);
|
|
330
330
|
const steps = systemd
|
|
@@ -354,7 +354,7 @@ export async function installService({
|
|
|
354
354
|
}
|
|
355
355
|
} else if (domains) {
|
|
356
356
|
log('\nThe basklee server tool is not set up, so nginx and HTTPS were not configured. Prepare the server:');
|
|
357
|
-
log(' curl -fsSLo basklee.sh https://
|
|
357
|
+
log(' curl -fsSLo basklee.sh https://basklee.com/downloads/basklee.sh && sudo sh basklee.sh setup');
|
|
358
358
|
log(`Then run this install again. Or proxy your HTTPS site to http://127.0.0.1:${chosen} as basklee/README.md describes.`);
|
|
359
359
|
}
|
|
360
360
|
return { name: service, port: chosen, user: account.name, unitPath, frontends: settings.frontends, failed, connected: domains && Boolean(tool) };
|
package/src/project-readme.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export function projectReadme(settings) {
|
|
|
4
4
|
return `# Your Basklee Nuxt integration
|
|
5
5
|
|
|
6
6
|
This folder contains the integration source for your Nuxt 4 storefront.
|
|
7
|
-
Your personal backend API is provided in your account at https://
|
|
7
|
+
Your personal backend API is provided in your account at https://basklee.com.
|
|
8
8
|
You can change that backend domain in your account, then update this project.
|
|
9
9
|
|
|
10
10
|
## Quick start from zero
|
|
@@ -22,7 +22,7 @@ npm run dev
|
|
|
22
22
|
\`\`\`
|
|
23
23
|
|
|
24
24
|
Replace \`your-project.orionplace.app\` with the personal backend domain shown in
|
|
25
|
-
your profile at [
|
|
25
|
+
your profile at [basklee.com](https://basklee.com), and
|
|
26
26
|
\`shop.example.com\` with your storefront domain. The first frontend also becomes
|
|
27
27
|
the local MIMIC domain.
|
|
28
28
|
|
|
@@ -83,8 +83,8 @@ The supplied Nuxt storefront includes \`/profile\` with personal details, avatar
|
|
|
83
83
|
verified email, optional email-notification and email-language preferences, password management,
|
|
84
84
|
phone sign-in/registration and navigation to \`/logout\`. Account requests use the
|
|
85
85
|
shared named API client; avatar upload uses multipart. Data changes only after
|
|
86
|
-
confirmation. See the [profile guide](https://
|
|
87
|
-
and its [Russian version](https://
|
|
86
|
+
confirmation. See the [profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
87
|
+
and its [Russian version](https://basklee.com/ru/sandbox/components/nuxt/profile).
|
|
88
88
|
|
|
89
89
|
The sign-in and registration form (\`ProfileSignIn\`) appears only on the
|
|
90
90
|
\`/profile\` page. Header Login links there. A guest's click on an action that
|
|
@@ -120,7 +120,7 @@ the top loading bar from \`app/app.vue\` and a visually hidden \`role="status"\`
|
|
|
120
120
|
message instead of a status strip. Field errors stay as red text beside their inputs. Required fields show a
|
|
121
121
|
red \`*\` directly after the label text.
|
|
122
122
|
|
|
123
|
-
The default layout renders the [footer](https://
|
|
123
|
+
The default layout renders the [footer](https://basklee.com/en/sandbox/components/nuxt/footer)
|
|
124
124
|
with real store categories, home-section anchors, profile/journal navigation,
|
|
125
125
|
a \`/contact\` link, a \`/privacy\` link, social links and the company name in
|
|
126
126
|
its copyright line. Company contact and registration details appear beside the
|
|
@@ -274,7 +274,7 @@ Components are grouped by feature under
|
|
|
274
274
|
\`app/components/basklee/\`. Components read the initialized store directly;
|
|
275
275
|
no additional Application Load request is needed.
|
|
276
276
|
|
|
277
|
-
The [field sandboxes](https://
|
|
277
|
+
The [field sandboxes](https://basklee.com/en/sandbox/appload/nuxt) display
|
|
278
278
|
these same source files and interfaces. Selections emit events for your
|
|
279
279
|
application to handle; they do not perform account, cart or subscription requests.
|
|
280
280
|
|
|
@@ -413,7 +413,7 @@ reloads for the guest session. The failed request is not repeated and no
|
|
|
413
413
|
sign-in dialog opens; a guest \`401\`, \`403\`, CSRF rejection or network failure
|
|
414
414
|
stays an ordinary request error.
|
|
415
415
|
|
|
416
|
-
[Cookie lifecycle and browser request example](https://
|
|
416
|
+
[Cookie lifecycle and browser request example](https://basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
417
417
|
|
|
418
418
|
### SSR, navigation and failures
|
|
419
419
|
|
|
@@ -438,7 +438,7 @@ review and merge newer templates manually where the CLI reports preserved files.
|
|
|
438
438
|
|
|
439
439
|
## Storefront header
|
|
440
440
|
|
|
441
|
-
Browse [Components](https://
|
|
441
|
+
Browse [Components](https://basklee.com/en/sandbox/components/nuxt) for the
|
|
442
442
|
Header composition and its search, language, currency, profile, wallet and catalog
|
|
443
443
|
children, with live previews and source downloads. Russian guides are available too.
|
|
444
444
|
|
|
@@ -454,7 +454,7 @@ after sign-in, the user returns to the page passed in \`redirect\`,
|
|
|
454
454
|
payments are submitted by these presentation components. The balance follows
|
|
455
455
|
the selected currency, preserves zero and uses a dash for missing amounts.
|
|
456
456
|
After confirmed authentication changes, refresh Application Load to replace the
|
|
457
|
-
session, profile, wallet and discovery. See the [account guide and source downloads](https://
|
|
457
|
+
session, profile, wallet and discovery. See the [account guide and source downloads](https://basklee.com/en/sandbox/appload/nuxt/init/is_authenticated).
|
|
458
458
|
The wishlist and cart buttons display \`store.counters\`: initial Application Load
|
|
459
459
|
counts, updated by confirmed product actions. The wishlist button opens
|
|
460
460
|
\`/wishlist\`; the cart button opens the cart preview, whose product and full-cart
|
|
@@ -491,7 +491,7 @@ opens the enrollment dialog; enrollment is sent only after its explicit
|
|
|
491
491
|
confirmation. Existing product controllers handle variants and purchase actions.
|
|
492
492
|
|
|
493
493
|
See [the home composition](./COMPONENTS.md#storefront-home-sections) and the
|
|
494
|
-
[Components guide](https://
|
|
494
|
+
[Components guide](https://basklee.com/en/sandbox/components/nuxt/home)
|
|
495
495
|
for child contracts, settings, events, slots and physical source.
|
|
496
496
|
|
|
497
497
|
## Update the package and components
|
|
@@ -519,7 +519,7 @@ If installation fails after source generation, run \`npm install\` and retry.
|
|
|
519
519
|
The quickest way: prepare the server with the Basklee server script,
|
|
520
520
|
then run \`sudo npx basklee-nuxt install\` in this folder. It builds the
|
|
521
521
|
project, runs it as a system service and connects your domains with nginx and
|
|
522
|
-
HTTPS. Steps: [Install a storefront](https://
|
|
522
|
+
HTTPS. Steps: [Install a storefront](https://basklee.com/en/sandbox/install/storefront).
|
|
523
523
|
Then manage it from this folder: \`npx basklee-nuxt status\`, \`sudo npx basklee-nuxt restart\`,
|
|
524
524
|
\`sudo npx basklee-nuxt stop\`, \`sudo npx basklee-nuxt start\` and \`sudo npx basklee-nuxt logs\`.
|
|
525
525
|
\`sudo npx basklee-nuxt uninstall\` (or \`cleanup\`) stops and removes the service; this folder stays.
|
|
@@ -593,7 +593,7 @@ Deploy the website first, then build the app with Capacitor 8. With
|
|
|
593
593
|
client-only and sends every API request to that storefront through Capacitor's
|
|
594
594
|
native HTTP (\`app/utils/basklee/nativeApp.ts\`). Without the variable the
|
|
595
595
|
website build is unchanged. Steps:
|
|
596
|
-
[Android app guide](https://
|
|
596
|
+
[Android app guide](https://basklee.com/en/sandbox/android-app).
|
|
597
597
|
|
|
598
598
|
\`\`\`bash
|
|
599
599
|
BASKLEE_APP_ORIGIN=https://shop.example.com npx nuxt generate
|
|
@@ -602,8 +602,8 @@ npx cap sync android
|
|
|
602
602
|
|
|
603
603
|
## More documentation
|
|
604
604
|
|
|
605
|
-
- [Nuxt package installation and domain setup](https://
|
|
606
|
-
- [Application Load](https://
|
|
605
|
+
- [Nuxt package installation and domain setup](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
606
|
+
- [Application Load](https://basklee.com/en/sandbox)
|
|
607
607
|
|
|
608
608
|
## Representative product actions
|
|
609
609
|
|
|
@@ -621,25 +621,25 @@ record actions without changing the reader's cart or session.
|
|
|
621
621
|
|
|
622
622
|
### Visual settings, search filters and blog previews
|
|
623
623
|
|
|
624
|
-
[Visual settings](https://
|
|
624
|
+
[Visual settings](https://basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
625
625
|
are consumed by the supplied Nuxt components:
|
|
626
626
|
|
|
627
|
-
- [CatalogHeader](https://
|
|
627
|
+
- [CatalogHeader](https://basklee.com/en/sandbox/components/nuxt/catalog)
|
|
628
628
|
uses \`menu_image\` for shortcut thumbnails and \`catalog_menu_image\` inside its catalog panel.
|
|
629
|
-
- [ProductGroup](https://
|
|
629
|
+
- [ProductGroup](https://basklee.com/en/sandbox/components/nuxt/product-group)
|
|
630
630
|
becomes a swipeable row on a narrow screen. \`mobile_show_arrows\` controls its previous/next
|
|
631
631
|
buttons when the row overflows. Desktop grids and promotion carousels are unaffected.
|
|
632
632
|
Optional \`productIds\` resolves an ordered set through \`store.getProduct\`; an omitted
|
|
633
633
|
value uses the AppLoad collection, and an empty array displays no cards.
|
|
634
|
-
- [Search results](https://
|
|
634
|
+
- [Search results](https://basklee.com/en/sandbox/components/nuxt/search-results)
|
|
635
635
|
retain initial selector choices, support currency price ranges and color filters,
|
|
636
636
|
and display loading, empty and failure states.
|
|
637
|
-
- [Preorder dialog](https://
|
|
637
|
+
- [Preorder dialog](https://basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
638
638
|
is shared by storefront and documentation product previews.
|
|
639
|
-
- [Sign-out page](https://
|
|
639
|
+
- [Sign-out page](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
640
640
|
calls profile_logout at /logout, then refreshes guest AppLoad and returns home.
|
|
641
|
-
- [Category page](https://
|
|
642
|
-
- [SearchFilters](https://
|
|
641
|
+
- [Category page](https://basklee.com/en/sandbox/components/nuxt/category-page)
|
|
642
|
+
- [SearchFilters](https://basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
643
643
|
uses \`show_filter_counters\` for counts supplied in \`selects\` and \`variants\`.
|
|
644
644
|
\`store.preserveSearchFacets(page_data)\` retains the initial options and price
|
|
645
645
|
bounds from \`products_search\`; \`store.setSearchFacets\` explicitly replaces them
|
|
@@ -648,14 +648,14 @@ are consumed by the supplied Nuxt components:
|
|
|
648
648
|
update products, leaving the original selectors available. \`disabled\` prevents
|
|
649
649
|
selection; there are no slots.
|
|
650
650
|
- \`single_seller_mode\` hides
|
|
651
|
-
[ProductCardSeller](https://
|
|
651
|
+
[ProductCardSeller](https://basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
652
652
|
and seller filters; manufacturer options remain visible. The backend currently returns false.
|
|
653
|
-
- [BlogPostGroup](https://
|
|
653
|
+
- [BlogPostGroup](https://basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
654
654
|
\`blog_view_type\`: \`EBlogViewType.PORTRAIT\` is a grid, \`EBlogViewType.LIST\` is a list,
|
|
655
655
|
and \`EBlogViewType.CUSTOM\` starts with a lead card, followed by groups of up to
|
|
656
656
|
three posts. Unknown values fall back to portrait; numeric strings are accepted.
|
|
657
657
|
\`store.setBlogPosts(page_data.posts.data)\` supplies previews from \`blog_posts_get\`.
|
|
658
|
-
[BlogPostCard](https://
|
|
658
|
+
[BlogPostCard](https://basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
659
659
|
\`postId\` and \`layout\` (portrait by default, list or hero), reads the post from
|
|
660
660
|
the store, and shows its localized title, plain-text preview, first ordered image
|
|
661
661
|
and reading time. The group forwards its \`select\` event with \`IBlogPostPreview\`.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
The user’s promo codes, reviews and sign-in history.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/activity) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/activity)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Available promo codes and applying a selected code to the cart.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/account-promocodes) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/account-promocodes)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Account navigation around private storefront sections.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/profile, /addresses, /orders, /tickets, /wallet, /subscriptions, /wishlist, /activity`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/account-section) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/account-section)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
The user’s sign-in dates, devices, browsers and IP addresses.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/sign-in-history) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/sign-in-history)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Sign-out page · Nuxt
|
|
2
2
|
|
|
3
|
-
The [sign-out component](https://
|
|
3
|
+
The [sign-out component](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
4
4
|
is `app/components/basklee/account/StorefrontLogout.vue`, under Profile menu.
|
|
5
5
|
The default layout opens `/logout` after `signOut`. The route shows progress,
|
|
6
6
|
uses `profile_logout` through the shared API client after mounting, refreshes
|
|
@@ -12,4 +12,4 @@ preview never signs out the reader.
|
|
|
12
12
|
|
|
13
13
|
## Related components
|
|
14
14
|
|
|
15
|
-
[Profile menu](https://
|
|
15
|
+
[Profile menu](https://basklee.com/en/sandbox/components/nuxt/profile-menu), [Header](https://basklee.com/en/sandbox/components/nuxt/header).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Personal profile · Nuxt
|
|
2
2
|
|
|
3
|
-
The [personal profile guide](https://
|
|
4
|
-
(and [Russian guide](https://
|
|
3
|
+
The [personal profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
4
|
+
(and [Russian guide](https://basklee.com/ru/sandbox/components/nuxt/profile))
|
|
5
5
|
describes the physical account composition used at `/profile`. Header sign-in and
|
|
6
6
|
profile selections open this route with the selected locale. `pages/profile.vue`
|
|
7
7
|
shows the phone sign-in/registration form (`ProfileSignIn`) to guests; it is the
|
|
@@ -121,7 +121,7 @@ notification, Checkout, a plan or an event) opens this page at once through
|
|
|
121
121
|
`useBaskleeSignIn().requireSignIn()`, with no separate sign-in notice. During the navigation the page sets
|
|
122
122
|
`ProfileSignIn`'s `redirecting` input, so the form keeps its waiting indicator
|
|
123
123
|
instead of showing the profile briefly.
|
|
124
|
-
The [API request inspector](https://
|
|
124
|
+
The [API request inspector](https://basklee.com/en/sandbox/api/auth_signin_signup#auth-preview)
|
|
125
125
|
uses editable request fields and the same authentication controller. Requests
|
|
126
126
|
start when the visitor presses Send. After completion the host confirms the
|
|
127
127
|
session through Application Load. Storefront component examples remain in
|
|
@@ -136,10 +136,10 @@ with the same request contracts.
|
|
|
136
136
|
|
|
137
137
|
## Related components
|
|
138
138
|
|
|
139
|
-
[Personal details](https://
|
|
140
|
-
[Photo](https://
|
|
141
|
-
[Email](https://
|
|
142
|
-
[Password](https://
|
|
143
|
-
[Sign-in](https://
|
|
144
|
-
[Profile menu](https://
|
|
145
|
-
[Logout](https://
|
|
139
|
+
[Personal details](https://basklee.com/en/sandbox/components/nuxt/profile-details),
|
|
140
|
+
[Photo](https://basklee.com/en/sandbox/components/nuxt/profile-avatar),
|
|
141
|
+
[Email](https://basklee.com/en/sandbox/components/nuxt/profile-email),
|
|
142
|
+
[Password](https://basklee.com/en/sandbox/components/nuxt/profile-password),
|
|
143
|
+
[Sign-in](https://basklee.com/en/sandbox/components/nuxt/profile-sign-in),
|
|
144
|
+
[Profile menu](https://basklee.com/en/sandbox/components/nuxt/profile-menu),
|
|
145
|
+
[Logout](https://basklee.com/en/sandbox/components/nuxt/logout).
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Address creation and editing with country selection, region search, text suggestions and location lookup.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/addresses`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/address-form) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/address-form)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Saved addresses, address editing and default delivery selection.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/addresses`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/addresses) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/addresses)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
An article, subscription access and its discussion.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/journal`.
|
|
6
|
-
[English guide](https://
|
|
7
|
-
[Russian guide](https://
|
|
6
|
+
[English guide](https://basklee.com/en/sandbox/components/nuxt/blog-article) ·
|
|
7
|
+
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/blog-article)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|