Skip to content

Commit

Permalink
updated: Route examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Nov 17, 2023
1 parent 2a13d3a commit b96f6a9
Show file tree
Hide file tree
Showing 7 changed files with 3,457 additions and 6,558 deletions.
13 changes: 0 additions & 13 deletions lazy-routes/.babelrc

This file was deleted.

9,965 changes: 3,445 additions & 6,520 deletions lazy-routes/package-lock.json

Large diffs are not rendered by default.

21 changes: 9 additions & 12 deletions lazy-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@
"webpack"
],
"devDependencies": {
"@babel/core": "7.19.0",
"@babel/preset-env": "7.19.0",
"@riotjs/compiler": "^6.3.2",
"@riotjs/hot-reload": "^6.0.1",
"@riotjs/webpack-loader": "^6.0.0",
"babel-loader": "^8.2.5",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.0"
"@riotjs/compiler": "^9.0.6",
"@riotjs/hot-reload": "^9.0.1",
"@riotjs/webpack-loader": "^9.0.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"dependencies": {
"@riotjs/lazy": "2.0.2",
"@riotjs/route": "^8.0.2",
"riot": "^7.0.6"
"@riotjs/lazy": "9.0.0",
"@riotjs/route": "^9.1.2",
"riot": "^9.1.1"
}
}
10 changes: 0 additions & 10 deletions lazy-routes/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ module.exports = {
hot: true
}
}]
},
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion router-complex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<!-- scripts we need -->
<script src="https://unpkg.com/riot@9/riot+compiler.min.js"></script>
<script src="https://unpkg.com/@riotjs/route/route.js"></script>
<script src="https://unpkg.com/@riotjs/route/index.umd.js"></script>

<!-- mount this app -->
<script>
Expand Down
2 changes: 1 addition & 1 deletion router-history-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<!-- scripts we need -->
<script src="https://unpkg.com/riot@9/riot+compiler.min.js"></script>
<script src="https://unpkg.com/@riotjs/route/route.js"></script>
<script src="https://unpkg.com/@riotjs/route/index.umd.js"></script>

<!-- mount this app -->
<script>
Expand Down
2 changes: 1 addition & 1 deletion router-page-switcher/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<!-- scripts we need -->
<script src="https://unpkg.com/riot@9/riot+compiler.min.js"></script>
<script src="https://unpkg.com/@riotjs/route/route.js"></script>
<script src="https://unpkg.com/@riotjs/route/index.umd.js"></script>

<!-- mount this app -->
<script>
Expand Down

0 comments on commit b96f6a9

Please sign in to comment.