Comments (6)
From the docs:
Compilation requires browserify with the stringify and require-globify transforms.
In order to dynamically generate the templates I have used browserify
with the require-globify
transform which allows for requiring an entire folder. I don't know if you can find a parallel loader for webpack
because the require statement accepts parameters unique to this transform.
I suppose for now you can resort to using the precompiled version (under dist
).
from vue-formular.
Thx for the quick response. One question: why don't you include the dist version in the package from npm? would it be possible to do that?
from vue-formular.
Because it doesn't belong there, and there is no benefit to including it. This is by definition an extraneous file. NPM package should contain only files used to build the package.
The precompiled file belongs in the github repo.
from vue-formular.
Ok, thx for the info. I'm not very experienced in building npm packages, so no idea what the does and don'ts are. I now included it manually and it seems to work.
I also searched for a "require-globify" loader for webpack, but couldn't find anything that uses the same syntax. But still nice project! Thx
from vue-formular.
I have removed the require-globify
dependency (using vue partials instead).
Should work with webpack
(+ html-loader
) now.
from vue-formular.
Works like a charm! Thx for fixing!
from vue-formular.
Related Issues (15)
- After submit redirect via vue-router HOT 1
- Any plans on Vue 2 support now that the RC is out? HOT 1
- How to reset form errors HOT 4
- Bind to hasError property of the form HOT 4
- about V-select HOT 2
- How to add a listener by event? HOT 4
- v-date can not disabled? HOT 3
- Add autofocus / focus event HOT 1
- Form elements in components are not recognized HOT 2
- Adding errors when using "client" mode HOT 8
- Integration with v-model HOT 3
- Issue in V-Select HOT 10
- how to get programmatically if form has validation errors HOT 2
- additionalPayload doesn't respect change HOT 2
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 vue-formular.