mirror of https://github.com/aldy505/code.git
fix: setups
This commit is contained in:
parent
d3130365af
commit
1ee4df3a3d
|
@ -14,6 +14,6 @@
|
|||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
|
||||
<script src="/src/index.jsx" type="module"></script>
|
||||
<script src="/pages/index.jsx" type="module"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -4,8 +4,8 @@
|
|||
"description": "Website for code.reinaldyrafli.com",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"generate": "nuxt generate",
|
||||
"dev": "vite",
|
||||
"generate": "vite build",
|
||||
"lint": "eslint --fix --ext .vue,.js --ignore-path .gitignore .",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
|
|
|
@ -3,6 +3,7 @@ import solidPlugin from 'vite-plugin-solid';
|
|||
import windiCSS from 'vite-plugin-windicss';
|
||||
|
||||
export default defineConfig({
|
||||
publicDir: '/static',
|
||||
plugins: [solidPlugin(), windiCSS()],
|
||||
build: {
|
||||
target: 'esnext',
|
||||
|
|
Loading…
Reference in New Issue