chore: Add netlify.toml configuration
This commit is contained in:
parent
8d71e8d588
commit
cb7371e1ad
|
|
@ -1,2 +0,0 @@
|
|||
dist
|
||||
node_modules
|
||||
|
|
@ -4,4 +4,10 @@ export default antfu({
|
|||
// enable UnoCSS support
|
||||
// https://unocss.dev/integrations/vscode
|
||||
unocss: true,
|
||||
|
||||
ignores: [
|
||||
'netlify.toml',
|
||||
'node_modules',
|
||||
'dist',
|
||||
],
|
||||
})
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "/"
|
||||
publish = "dist"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
Loading…
Reference in New Issue