sohelamin / electron-vue-boilerplate Goto Github PK
View Code? Open in Web Editor NEWElectron & Vue.js Boilerplate
Electron & Vue.js Boilerplate
While Running the Dev Server - the following error occurs;
Uncaught ReferenceError: require is not defined build.js:674
Hi,
I created a project based on your template but when I execute 'npm run dev' electron shows a window as in the following image ("Welcome to ntopng")
@sohelamin any idea?
Hi @sohelamin
Great boilerplate :)
What do you think to make it compatible with vue-cli, so it would be possible to install it with:
vue init sohelamin/electron-vue-boilerplate <project-name>
This way, the user have the possibility to answer few question and you can already fill some files with this informations (package.json) for example.
Tell me what do you think about it 😃
Hi Sohail,
I am getting an error as follows
Uncaught Error: Cannot find module "./src/app.js"
at webpackMissingModule (build.js:11529)
at Object.<anonymous> (build.js:11529)
at __webpack_require__ (bootstrap 4c93556…:659)
at bootstrap 4c93556…:708
at bootstrap 4c93556…:708
I get this error whenever I do , npm run dev-server and in another tab I do npn run dev .
I replaced your app.js with my app.js which is about the same as yours except mine has a few more Vue routes . I have also made sure that the file app.js exists in the src folder.
Update
I am even getting the same error with your version. Please see the snapshot below.
Can you please help me out with this ?
Thanks
Gagan
Getting a 'NODE_ENV' is not recognized as an internal or external command, when trying to run on Windows.
Solution is to go into package.json and change
NODE_ENV=development
to
SET NODE_ENV=development &
Hi I'm running this on apple mac and it hangs every time it gets to this point:
? Project name my-project
? Project description (A Vue.js & Electron project)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.