Comments (4)
Hi dtchkoidze,
Thank you for your question. For more detailed discussions and support, we recommend using our dedicated forums. You can find a lot of helpful resources and get answers from the community there.
Please visit: Bagisto Forums
from bagisto.
For now
We have a file named app.js which is available in shop and admin package.
in this file we are created an app(window.app) object of createApp which is root instance of application and this app object is mounted into
For shop package
packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php
For admin package
packages/Webkul/Admin/src/Resources/views/components/layouts/index.blade.php
with the window load event listner means when all the dom loaded then mount the app.
As you said that you worked on SFC.
then the below code snippet will act as script tag.
<script type="module">
app.component('v-test', {
template: '#v-test-template',
});
</script>
the below code snippet will act as template part of .vue file.
<script
type="text/x-template"
id="v-test-template"
>
</script>
and you can use the component as below code snippet provided.
<v-test></v-test>
from bagisto.
For vite configurations you can visit:
https://devdocs.bagisto.com/2.x/packages/assets.html
from bagisto.
Thanks for the reply, all sorted out!
from bagisto.
Related Issues (20)
- Currency should be showing correct in Arabic locale for Bundle Product
- Emails sent twice when custom theme active HOT 5
- The Cart Rule is experiencing issues under various conditions and rules.
- When i use paypal smart button for payment,but the transaction_id save the payment order id info , and not real transaction_id HOT 1
- shipping and payment cannot be automatically checked HOT 3
- lang=ja, but the name input box can only input letters and numbers HOT 1
- please support Swiss franc (CHF) as currency during installation HOT 2
- Shipping.blade.php has a bug in client email and admin email
- support PostgreSQL as database HOT 1
- A way to add other models to Webkul\Sitemap HOT 1
- Admin End Mega Search is showing "Undefined" in "Explore all products matching (undefined)," and when clicked, a blank page appears.
- For guest users, if an invoice is generated or a duplicate invoice is sent, the guest user must receive a PDF of the invoice.
- Toggle Button on status color is not appropriate.
- Error: Extension Error: The validator 'all' must be a function. HOT 1
- Getting issue in Order, Customer and Catalog Datagrid, unable to see the details in some specific locales. HOT 1
- Add support for .avif format
- Admin OrderController error messages are not correctly displayed HOT 1
- Ability of editing sliders
- AI image modal not fully showing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bagisto.