Comments (5)
Yhea that seems like being the issue, thank you for the hint!
I will check how I could adjust that for package deployment and webpack bundling.
Cheers!
from qrjs2.
You shouldn't use main.js
- it's for launching the index.html
with nwjs
instead of using http-server
This is not in the scope of the project. I use main.js
as well as index.js
to launch demo, so that to quickly see if the library works fine.
start "" "G:\server\apps\nwjs-sdk-win-x64\nw.exe" "./"
and
start "" "G:\server\apps\electron-win32-x64\electron.exe" "./index.js"
as you can see I have binaries of Electron
and NWJS
on my hard drive.
This repo hasn't been aimed at using specifically webpack
.
So perhaps you will have to revise main.js or delete it.
The property
"main": "main.js",
in package.json
is for the above mentioned purpose, and not for using the library — it's for local testing.
I guess webpack
takes this property, considering it is specially designed for webpack
-ing.
from qrjs2.
Yhea that seems like being the issue, thank you for the hint!
I will check how I could adjust that for package deployment and webpack bundling.
Cheers!
did you able to get it working with webpack?
from qrjs2.
@shulhi No I did use another package as quickfix then - however happy to use this package if you did that - as I prefer svg 😎
I will also give an update here when I finally have managed to do it xD
Cheers!
from qrjs2.
in new version 0.1.9 which is published to npm
in package.json
"main": "js/qrjs2.js",
so I hope this will help with webpack
issue
from qrjs2.
Related Issues (3)
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 qrjs2.