File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
- < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
6
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < title > @spuxx/browser-utils </ title >
6
+ < title > @spuxx/jslibs </ title >
8
7
</ head >
9
8
< body >
10
9
< div id ="root "> </ div >
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
1
2
import { intl } from '@spuxx/js-utils' ;
2
3
3
- function App ( ) {
4
+ export default function App ( ) : React . ReactElement {
4
5
return (
5
6
< >
6
7
< h1 > { intl ( 'app.title' ) } </ h1 >
7
8
</ >
8
9
) ;
9
10
}
10
-
11
- export default App ;
Original file line number Diff line number Diff line change 1
- /// <reference types="vitest" />
2
1
import baseConfig from '../../vite.config' ;
3
2
import { mergeConfig , defineConfig } from 'vite' ;
4
3
import react from '@vitejs/plugin-react' ;
You can’t perform that action at this time.
0 commit comments