Comments (4)
Thanks for your report.
For import Simplert from './simplert.vue'
yes it will not work beacause .
is relative with your root project.
I will update documentation.
For not showing modal, let me try to reproduce this issue first.
Thanks
from vue2-simplert.
Do you have try to import from src
folder @pongoman ?
Like this ?
import Simplert from 'vue2-simplert/src/app/simplert.vue'
from vue2-simplert.
Just to mention, the way I described above does not produce any errors and watching through devtools the props of the component would not update. Note that it should be :simplertData="simplertData"
.
Yes I did try that doesn't work either, for some reason I get this result:
ERROR Failed to compile with 1 errors
This dependency was not found in node_modules:
* !!vue-style-loader!css-loader!vue-loader/lib/style-rewriter?id=data-v-326da139&scoped=true!sass-loader!vue-loader/lib/selector?type=styles&index=0!./simplert.vue
vue-loader and other packages are installed, project was created throught vue-cli
Maybe you should update package.json to point to the file you would like to.
Cheers
from vue2-simplert.
I have testing and update the documentation for using in another project,
Hope can help you, please check README.md
from vue2-simplert.
Related Issues (20)
- Add hook onShow HOT 1
- Compile .vue simplert to js library HOT 2
- Is there a way to use 2 alert components, one after another? HOT 8
- Can I use vue2-simplert with `<script>`? HOT 5
- 请问如何当做插件全局注册,每次需要弹窗了就引用用下插件吧,这个很不友好 HOT 4
- Cover entire SPA with Simplert modal HOT 1
- Position the alert HOT 1
- use scoped styles instead of global HOT 5
- Open development Vue2-Simplert as Plugins
- ERROR can't load Simplert.vue HOT 8
- Failed to mount component: template or render function not defined. HOT 10
- Add contribution guide HOT 1
- Overlay background scroll should be disable when alert is active HOT 2
- Webpack build error HOT 6
- SSR HOT 4
- How to close on enter?
- Unit test failed
- Close button custom title HOT 4
- ButtonText slot?
- How to use Simplert with CDN 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 vue2-simplert.