roxiness / routify.dev Goto Github PK
View Code? Open in Web Editor NEWThe documentation website for Routify, a file-based Router for Svelte
Home Page: http://routify.dev
The documentation website for Routify, a file-based Router for Svelte
Home Page: http://routify.dev
See design:
https://www.figma.com/file/5qyHDeDfIz79x8V22dtGQm/Routify?node-id=99%3A10
To look up: current <Note />
component.
Proposal for first text
You can reset your layout to reset the layout inheritance by adding a filed called
_reset.svelte
to your folder. This will allow you to “start over” and build up your layout without taking into account nested_layout.svelte
files.
https://routify-2020-khaki.now.sh/examples
Examples page needs some content.
Will these be separate pages?
e.g. https://routify-2020-khaki.now.sh/guide/props
The footer should be at the bottom, not at the top
I believe we should just replace https://routify.dev/ (current site) with the routify-site-2020.
Then we just keep working on better docs in the new layout (using Notion)
Otherwise, we have 2 content trees to compare.
What do you think @jakobrosenberg ?
Do they load correctly if you don't have them installed?
Figma link: https://www.figma.com/file/5qyHDeDfIz79x8V22dtGQm/Routify?node-id=10%3A1417
Want to help? Use Routify, file issues, pick up issues. Let’s make the best router for Svelte 3!
If I try to render the code from existing parameters page, I get errors.
Do you need to add some hacky workarounds to make Svelte not compile the code?
Feedback from @rixo .
the only thing that bugs me a little is that when you change page between "Getting started" and another page with lateral navigation, the alignment of the content column is just so slightly different that it appears to jump somehow
not sure what could be done... a transition maybe?
The deployments page is empty.
I wrote some content, I will make a PR.
We can add instructions to deploy to Now and Netlify?
Implement favicon.
Port Opengraph logic from our company site.
<title>
Sharing
Docs
Blog posts
See detailed discussion in #85
Content marketing
Footer of website says "Routify is MIT Licensed.".
Depends on discussion here roxiness/routify#91 .
Is the difference between __bundled and __dynamic.html explained anywhere?
Should it be blog
instead of [blog]
?
I do like that it shows that capability of having params in the folder, but the current example isn't showing it.
pages _layout.svelte about.svelte /about [blog] index.svelte /recipes [post] /recipes/cupcakes
https://routify-2020-khaki.now.sh/helpers
What should be on this page?
Use Prism?
Reference REPL
https://svelte.dev/repl/63752b91a368455184e28a10ad397e7c?version=3.18.0
Just posing the questions to start my own thinking.
Set up prettifier on a project level so we can be in sync about formatting.
Currently, sidebar is hardcoded 2x in https://routify-2020-khaki.now.sh/guide/scheme-structure and https://routify-2020-khaki.now.sh/configuration/basics . It should become a UI component with some better code abstraction.
Implement Apple touch icon.
When you are editing a partial and save it, the SCSS does not get saved.
The new idea that we can work on the site with just 1 command is good, but the workflow doesn't work yet. It only works if you directly edit style.scss, but you work in partials most of the time.
If you open the mobile nav right now, it only shows the first level navigation.
Some of the items will have child pages.
I would like for this navigation to be tweaked so it shows the child pages for parts like “Guide”. Perhaps with an accordion-style component.
Now, when you go to the guide on mobile, and the page has a sub tree, the first thing you see is that list. That's not very neat.
I tried to integrate the current page from https://routify.now.sh/docs/install into this repo .
Some dependency errors. See https://github.com/Wolfr/routify-site-2020/tree/integratebrickss .
[!] Error: 'css' is not exported by node_modules/emotion/dist/emotion.umd.min.js
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
node_modules/@sveltech/bricks/src/components/Modal.svelte (2:10)
1: <script>
2: import {css} from "emotion/dist/emotion.umd.min.js";
^
3: import { fade } from "svelte/transition";
4: import { onDestroy } from "svelte";
Error: 'css' is not exported by node_modules/emotion/dist/emotion.umd.min.js
at error (/Users/johanronsse/Sites/routify-site-2020/node_modules/rollup/dist/rollup.js:5365:30)
at Module.error (/Users/johanronsse/Sites/routify-site-2020/node_modules/rollup/dist/rollup.js:9708:9)
at handleMissingExport (/Users/johanronsse/Sites/routify-site-2020/node_modules/rollup/dist/rollup.js:9625:21)
at Module.traceVariable (/Users/johanronsse/Sites/ro
Deploy command says
npm run build && cd public && now deploy --name routify-site-2020 --prod -A ../now.json
This does not work.
The terminal command help at the bottom of https://routify-2020-khaki.now.sh/configuration/basics needs some bash highlighting.
Check if the menu functions on mobile.
If I try to paste this into a simple HTML template, I get a Svelte compile error.
"dev": "run-p watch:routify watch:rollup",
"watch:rollup": "rollup -c -w",
"watch:routify": "routify",
...
}
Even if I decode the entities.
Not sure where the prettyName is actually called to edit this, so assigning this to you @jakobrosenberg .
Problem in parent framework, see roxiness/routify#87
When navigating through the website, the browser <title>s are not always accurate.
Figma link: https://www.figma.com/file/5qyHDeDfIz79x8V22dtGQm/Routify?node-id=10%3A2299
Is it explained anywhere that you images or other static assets in /static
and that on every file save they are passed through to the dist
folder?
Todo - design wise - add a more neutral button to the designs
https://www.figma.com/file/5qyHDeDfIz79x8V22dtGQm/Routify?node-id=1%3A487
& also implement it in the code.
With the recent changes in Routify, how much of this README is still relevant?
Especially line 8 on code splitting - is this still relevant?
https://github.com/sveltech/routify-site-2020/blob/master/README.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.