Skip to content

Commit

Permalink
⬆️ Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amoutonbrady committed Jan 13, 2021
1 parent 0431ded commit 0d25ea3
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 90 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@
},
"homepage": "https://github.com/amoutonbrady/vite-plugin-solid#readme",
"peerDependencies": {
"babel-preset-solid": "^0.23",
"solid-js": "^0.23",
"vite": "^2.0.0-beta.4",
"babel-preset-solid": "^0.23"
"vite": "^2.0.0-beta.4"
},
"dependencies": {
"@babel/core": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"babel-preset-solid": "^0.23",
"solid-js": "^0.23",
"vite": "^2.0.0-beta.4"
"solid-js": "^0.23.10",
"vite": "^2.0.0-beta.27"
},
"devDependencies": {
"@babel/plugin-transform-typescript": "^7.12.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-node-resolve": "^11.0.1",
"@skypack/package-check": "^0.2.2",
"@types/babel__core": "^7.1.12",
"@types/node": "^14.14.9",
"@types/node": "^14.14.20",
"prettier": "^2.2.1",
"rollup": "^2.35.1",
"rollup": "^2.36.1",
"rollup-plugin-cleaner": "^1.0.0",
"typescript": "^4.1.2"
}
Expand Down
18 changes: 8 additions & 10 deletions playground/index.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
import { render } from 'solid-js/web';
import { createApp } from 'solid-utils';
import { MetaProvider } from 'solid-meta';
import { Router, Route } from 'solid-app-router';

const App = () => <Route />;

const routes = [
{
path: '/',
component: () => <h1>Hello world</h1>,
component: () => <h1>Hello world!!!</h1>,
},
{
path: '/about',
component: () => <h1>Hello about!!!</h1>,
},
];

const dispose = render(
() => (
<Router routes={routes}>
<App />
</Router>
),
document.getElementById('app'),
);
const dispose = createApp(App).use(MetaProvider).use(Router, { routes }).mount('#app');

if (import.meta.hot) {
import.meta.hot.accept();
Expand Down
6 changes: 3 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"author": "Alexandre Mouton-Brady",
"license": "ISC",
"devDependencies": {
"vite": "^2.0.0-beta.4"
"vite": "^2.0.0-beta.27"
},
"dependencies": {
"@vitejs/plugin-vue": "^1.0.3",
"solid-app-router": "^0.0.19",
"solid-js": "^0.23.8"
"solid-js": "^0.23.10",
"solid-utils": "^0.2.0"
}
}
90 changes: 59 additions & 31 deletions playground/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0d25ea3

Please sign in to comment.