Giter Club home page Giter Club logo

vue-content-placeholders's People

Contributors

michalsnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-content-placeholders's Issues

CSS Fails in Scoped SCSS

My app was using scoped scss which was failing to render CSS for the component.

<style lang="scss" scoped>
</style>

I had to create an unscoped one and copy SCSS codes into there to make it working.

<style lang="scss">
</style>

Vue 3 support ?

I'm trying to use this component with vue 3.
Will you provide any support ?

I tried something like this:

import { createApp } from 'vue'
import VueContentPlaceholders from 'vue-content-placeholders'
...
createApp(App).use(router)
  .use(VueContentPlaceholders)
  .mount('#app')

But this is what I got in the console:

vue-content-placeholders.common.js?5f56:1 Uncaught (in promise) TypeError: Cannot read property '_c' of undefined
    at Proxy.render (vue-content-placeholders.common.js?5f56:1)
    ...

Thanks.

CSS paints the body red

Any reason for this? Trying to implement onto an existing project but it's converting the body to red..

How to render data?

I used many ways but could not render my data after loading, hope to get help!

Syntax error while using webpack with postcss

After adding this

import VueContentPlaceholders from 'vue-content-placeholders'
Vue.use(VueContentPlaceholders)

into my main.js of vue-cli webpack template with postcss, webpack shows me the following error:

app_1    | 20:28:59 webpack.1 | > Starting dev server...
app_1    | 20:29:25 webpack.1 |  ERROR  Failed to compile with 1 errors20:29:25
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 |  error  in ./~/vue-content-placeholders/dist/vue-content-placeholders.css
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 | Module build failed: Syntax Error
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 | (5:1) Unknown word
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 |   3 | // load the styles
app_1    | 20:29:25 webpack.1 |   4 | var content = require("!!../../css-loader/index.js??ref--8-1!./vue-content-placeholders.css");
app_1    | 20:29:25 webpack.1 | > 5 | if(typeof content === 'string') content = [[module.id, content, '']];
app_1    | 20:29:25 webpack.1 |     | ^
app_1    | 20:29:25 webpack.1 |   6 | if(content.locals) module.exports = content.locals;
app_1    | 20:29:25 webpack.1 |   7 | // add the styles to the DOM
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 |  @ ./~/vue-content-placeholders/index.js 3:0-44
app_1    | 20:29:25 webpack.1 |  @ ./src/main.js
app_1    | 20:29:25 webpack.1 |  @ multi ./build/dev-client ./src/main.js
app_1    | 20:29:25 webpack.1 |
app_1    | 20:29:25 webpack.1 | > Listening at http://localhost:8080

correct way to use in ssr

in ssr mode, the animation doesn't work. what is the correct way to import css files.
In nuxt, I am importing it as mentioned in the README.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.