Comments (5)
Feel free to use what I have. It's a collection of clever ipsum generators and some photos from image-ipsum. :)
Coming up with an even better "gold standard" for demo content would certainly be nice to help get more people involved.
Want to make a pull request for the bower.json
work? That's literally at the top of my TODO list but I didn't want to block on getting this out.
from headless-drupal-angular.
will do.
If I just use your Rest Service for it's data, I expect CORS to block me:
http://enable-cors.org/server.html
I've seen chrome step up it's implementation of CORS and break a number sites that freely use XSS and other unwanted techniques.
I'll give it a shot though, maybe I'll get lucky.
from headless-drupal-angular.
my bower.json will be different that yours. You would be better off if you just did a bower init in the the app directory. Bower will detect the libraries you have used and include them as dependencies.
Then you can git rm -r --cached your bower_components directory and ignore that dir in your .gitignore so you don't accidentally include it.
from headless-drupal-angular.
Ah, I didn't understand what you meant about "using my content".
I will need to look into this a little further. It should be easy to get Drupal 8 to start including a Access-Control-Allow-Origin: *
header in all responses, and then I'll want to set up a site that I won't mess around with so people can use it as their own backend.
Thanks for the bower tip. I did not know it was that easy! :)
from headless-drupal-angular.
I've opened it up so you can use my Drupal 8 installation as the basis for getting started.
As I develop the demo, I'll keep that site up to date. That means if you are doing your own demo you should really set up your own site so it doesn't get broken as I make advancements/changes.
However, this should really help front-end developer who want to play with the concept get started without having to set up Drupal. :)
from headless-drupal-angular.
Related Issues (4)
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 headless-drupal-angular.