Comments (4)
Thank you for submitting this issue I will investigate it asap
from route.
Are you compiling your code with babel js? I that case you should transpile also @riotjs/dom-bindings
from route.
No, I do not use Babel. Below is my rollup conf:
`import riot from 'rollup-plugin-riot'
import nodeResolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import copy from 'rollup-plugin-copy'
import css from 'rollup-plugin-css-only'
import json from 'rollup-plugin-json'
const production = !process.env.ROLLUP_WATCH;
export default {
input: 'src/main.js',
output: {
file: 'www/index.js',
format: 'esm',
sourcemap:true
},
watch: {
include: ['src/','../../common/app/','../../common/formr/**']
},
plugins: [
riot(),
nodeResolve(),// prise en charge des modules depuis node_modules
commonjs(),
json(),
css({ output: 'www/css/index.css' }),
copy({
targets: [
{
src: 'src/index.html',
dest: 'www/'
},
{
src: 'src/assets/',
dest: 'www/'
},
{
src: 'node_modules/@fortawesome/fontawesome-pro/webfonts/.woff2',
dest: 'www/webfonts/'
},
{/* for ios... /
src: 'node_modules/@fortawesome/fontawesome-pro/webfonts/.ttf',
dest: 'www/webfonts/'
}
]
})
]
}
`
from route.
Fixed in @riojts/[email protected]. Please remember to update your Riot.js version as well
from route.
Related Issues (20)
- When trying to put a component inside a route it is not mounted. HOT 4
- Using router with rollup causes error HOT 1
- Infinite loop when child is directly nested in route HOT 1
- Child component onUpdated not firing
- Exclude path from routing HOT 2
- Route function rather than Update HOT 1
- How to catch "404 Not Found" routes properly? HOT 3
- "Maximum call stack size exceeded" error and a component inside route component are mounted multiple times
- Bug in support of 'target' attribute HOT 3
- Disable setting history. HOT 3
- Can't get routes with parameters to work HOT 1
- use decodeURI() on route HOT 5
- setBase is working? HOT 1
- Download a file HOT 2
- Error when compiling webpack HOT 3
- Updating component on route change HOT 3
- Router captures all links regardless of base path HOT 3
- Route slots are multiplying after each route change HOT 1
- Changing URL programmatically HOT 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 route.