Error: Unable to locate the Vue editor JS module

Currently, I am integrating VUE JS into Laravel and would like to incorporate a block editor using this package. I have included the import statement as follows:

import Editor from 'vue-editor-js'
. However, upon running the command npm run dev, it throws an error stating
Module not found: Error: Can't resolve 'vue-editor-js'
, despite the package being present in the node_module folder. Your assistance in resolving this issue would be greatly appreciated.

In addition, I am open to suggestions for alternative block editor plugins in VUE JS that are more similar to WordPress Gutenberg. Any recommendations would be helpful.

Answer №1

import Editor from 'vue-editor-js/src/index' 

You might want to consider giving this approach a try. It could potentially work and it's for version 2.0.2

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Leveraging a function for filtering in AngularJS

I have developed an application where the content filter changes depending on which button is clicked. I have managed to figure out the straightforward filters, but now I am attempting to create a filter that displays content within a specified range. Bel ...

Access and retrieve data from a string using XPath with JavaScript

My HTML page content is stored as a string shown below: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> </ ...

An error was encountered stating "TypeError: Unable to call function on undefined object while attempting to utilize a JSON object

My current setup involves using D3js with MongoDB and AngularJS to showcase my data. Everything works smoothly until I decide to give my JSON array a name. Suddenly, Angular starts throwing errors at me and I'm left confused as to why. Here is the or ...

I am debating whether to retrieve individual items in vuex using getters, actions, and SQL queries

Apologies if this question seems a bit unusual, but I'm struggling to articulate it clearly. I am currently developing a basic fullstack application using Vue, Vuex, Express, and Postgresql. As I retrieve data from my database and display it on the ...

How to download a dynamically generated PHP file to your local machine

I am trying to find a solution where the search results can be downloaded by the user and saved on their computer. Currently, the file is automatically stored on the server without giving the user an option to choose where to save it. In the search form, ...

Typescript allows you to apply a filter to an array

Query: Is there a way to display a pre-selected item from my dropdown using its unique ID? Issue/Explanation: The dropdown options in my web service are dynamically fetched based on a user's ZipCode. For example, a Provider is displayed as {Pho ...

What's the best method for uploading a file to AWS S3: POST or PUT requests?

Could you please provide insights on the advantages and disadvantages of utilizing POST versus PUT requests for uploading a file to Amazon Web Services S3? Although I have come across some relevant discussions on platforms like StackOverflow, such as this ...

Eliminate quotation marks from an array in order to function as a function with a variable

I receive an array from a JSON object. I then need to loop through the array because it contains function names that I want to execute. The following code snippet works when entered manually: var view_functions = [ header, footer ]; for (i = 0; ...

Utilize only certain JSON properties within JavaScript

I have access to an array of JSON objects. [ { Id: "1", StartNo: "1", ChipNo: "0", CategoryId: "0", Wave: "0", Club: "", FirstName: "Lotta", LastName: "Svenström", FullName: "Lotta Svenström", ZipCode: "24231" }, {...} ] My goal is to create a new data ...

Analyzing a server's log data at regular intervals

Currently, I am working on a project where I need to parse a server log file using JavaScript every 24 hours and then store the extracted information in a MongoDB database. The process of parsing the data and storing it is what I find to be the most chall ...

What is the best way to eliminate a component from a group using Jquery/Javascript before attaching it to a different component?

I am working with a group of dynamically added buttons and need to prepend a selection to an existing controlgroup. Here is a glimpse of what I am dealing with: $elements = [a.midToggle, a.menuToggle, a.ui-crumbs] Before prepending, I want to make sure t ...

What is the best way to use node.js to send a .json file via HTTP POST request?

As a beginner in these concepts, I seek guidance on how to create a script for making an HTTP POST request that sends a .json file containing an array of jsons. My resource is an npm module available at: https://github.com/request/request, along with a tut ...

What is the best way to link this information to access the data attribute?

Currently, I am looking to streamline the data retrieved from firebase so that it can be easily displayed in a FlatList component. How can I transform my data into a simple array that can be iterated over in the FlatList? UPDATE! I have multiple other coi ...

Utilize a single script to control various buttons

At work, I have a soundboard that I like to use to prank my coworkers. The soundboard has multiple buttons, each playing a different sound when clicked. Currently, I have to write a separate script for each button, which has led to 47 scripts on the page. ...

How can I combine all the areas in an ExtJS Area Chart with varying opacity levels instead of stacking them on top of each other?

I'm currently working on an area chart in ExtJS 4.1 and so far, everything is being displayed correctly. My issue is that one area is overlapping another in the chart, which I would like to avoid. Is there a way to overlay all the areas instead? Perh ...

After reducing the document.domain, the contentWindow of the iframe is met with an Access Denied error

Today, I decided to create an IFRAME dynamically using the following code snippet: var newIframe = document.createElement("iframe"); newIframe.id = 'NewFrame'; newIframe.src = 'NewFrame.html'; document.body.appendChild(newIframe); ...

The AngularJS error message: TypeError: Unable to access the 'images' property because it is undefined

Currently using AngularJS version 1.5.11 I am attempting to present images sourced from a JSON array. Is my method correct: $scope.mainImage = $scope.template.images[0].name;. The issue arises at the line where it says it cannot read property of images. ...

I need assistance setting up a Facebook page feed using Angular.js. I want to display the posts in a list of cards and include a fullscreen image gallery. Is

Hey there! I'm in the process of developing an app that pulls Facebook page posts and showcases them with custom CSS. The app is functioning smoothly with two controllers, DashCtrl and MainCtrl, each working fine on its own. However, when trying to tr ...

What is the most effective method for placing a singular pixel on an HTML5 canvas?

One limitation of the HTML5 Canvas is that it does not have a direct method to set a single pixel. While it may be possible to achieve this by drawing a very short line, issues with antialiasing and line caps could arise. Another approach would involve c ...

Show only the selected option with jQuery's on change event and disable or remove the other options

My goal is to make it so that when a user selects an option from a dropdown menu, the other options are disabled or hidden. For example, if option "1" is selected, options "2", "3", and "4" will be removed: <div class="abc"> <div class="xyz"> ...