We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

individual vue components inside the razor pages application

Thread ID:





149711 Dec 6,2019 08:47 AM UTC Dec 16,2019 05:41 AM UTC Vue 5
Tags: InPlaceEditor
jan kowalski
Asked On December 6, 2019 08:47 AM UTC

I would like to use only one component, vue inplace editor [containing an expandable calendar, select etc.] in my razor pages application. could you guide me what to do? Which [umd?] files should I put on _Layout.cshtml inside the <script> tag? maybe there is somewhere ready bundle to download? or ready for production CDN version of this component? 

Pandiyaraj Muniyandi [Syncfusion]
Replied On December 9, 2019 11:21 AM UTC

Hi Jan, 
Greetings from Syncfusion support. 
Yes, we can render In-place Editor component by referring following CDN resources in your _Layout.cshtml file or Razor page. 
<!-- Essentail JS2 for Vue styles --> 
<link rel='nofollow' href="https://cdn.syncfusion.com/ej2/material.css" rel="stylesheet" type="text/css" /> 
<!-- Essential JS 2 for Vue global script --> 
<script src="https://cdn.syncfusion.com/ej2/ej2-vue-es5/dist/ej2-vue.min.js" type="text/javascript"></script> 
For more details, refer this below documentation section 
We have prepared sample for your reference, get it from below link 

jan kowalski
Replied On December 10, 2019 08:34 AM UTC

hello Pandiyaraj,
thank you for the answer and attached sample project. I know of course the link you provided. I tested it and everything works as it should. however, I was wondering if it is possible to extract only one component to reduce the size of the .js file, something similar to 'Custom Resource Generator for Essential JS 2' but for Vue. ej2-vue.min.js is about 9.5MB
if there are no complete files with individual components, which files should I include in the project?
ej2-base.min.js, ej2-inplace-editor.min.js, ej2-vue-base.min.js, ej2-vue-inplace-editor.umd.min.js etc. ? then bundle them?
I'm using the 'Bundler & Minifier' extension from Mads Kristensen https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier
sorry for the naive questions but I'm just starting to explore the world of javascript, I'm rather an asp.net guy :)

Pandiyaraj Muniyandi [Syncfusion]
Replied On December 11, 2019 05:16 AM UTC

Hi Jan, 
Good day to you. 
Currently we doesn’t have support for render components with required scripts reference. We consider Provide a Separate minified file support as feature request from our end and it will be available, any of our upcoming releases. 
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: https://www.syncfusion.com/feedback/10662/ 

jan kowalski
Replied On December 13, 2019 08:33 AM UTC

thank you for your effort. I will closely follow upcoming releases.
have a nice day :)

Pandiyaraj Muniyandi [Syncfusion]
Replied On December 16, 2019 05:41 AM UTC

Hi Jan, 

Sure, we will intimate you once the feature rolled out with our release. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon