Comments (3)
Good question. arc@1
required a proxy to be configured based on what was being adapted. arc-marko
was one of these proxies.
arc@2
is taking a more generic approach, which means that package is no longer necessary. I have an example Marko app that I can add to the repo. I'll leave this issue open until it's added.
There are still some limitations around the current approach:
- a tag will need to have a "base tag" (one without flags)
- flagged versions of a tag will need to be siblings in the file tree
So using Marko with arc@2
currently looks like this
components/
custom-tag/
index.marko
custom-tag[mobile]/
index.marko
This is part of the reason why arc@2
is still in alpha, but I believe we have a viable solution for these current limitations. You should eventually be able to have a structure that looks more like using Marko with arc@1
(but no need for the index.arc
file):
components/
custom-tag/
[desktop]/
index.marko
[mobile]/
index.marko
from arc.
thanks for the reply. very appreciate it
from arc.
The (wip) Marko example is here:
https://github.com/eBay/arc/tree/master/packages/example-marko-lasso
from arc.
Related Issues (1)
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 arc.