simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

Stuck at login #56

Closed gio1135 closed 7 years ago

gio1135 commented 7 years ago

When I put #edit at the end of the URL and login, it just says stuck at "let's go". https://github.com/gio1135/lifetabporterville/tree/gh-pages

bedeoverend commented 7 years ago

@gio1135 looks like you're using Polymer 2.0? Unfortunately Simpla currently only supports Polymer 1.0 - if you can, give 1.0 a shot and see if that resolves the problem.

The other thing to note is if you're using Polymer, you should load all the Simpla elements in from the same directory as you're loading your Polymer elements. This is so that the HTML Imports don't conflict. You can do this when initialising Simpla - for example:

Simpla({
  project: 'your-project-key',
  elements: {
    base: '/bower_components',
    paths: [
      '/simpla-block/simpla-block.html',
      '/simpla-text/simpla-text.html',
      '/simpla-img/simpla-img.html',
      '/sm-module-save/sm-module-save.html',
      '/sm-module-login/sm-module-login.html'
    ]
  }
});
madeleineostoja commented 7 years ago

Closing due to inactivity, will re-open if problem is still there